github.com/navikt/knorten@v0.0.0-20240419132333-1333f46ed8b6/pkg/user/user.go (about)

     1  package user
     2  
     3  import (
     4  	"github.com/navikt/knorten/pkg/database"
     5  )
     6  
     7  type Client struct {
     8  	repo       *database.Repo
     9  	gcpProject string
    10  	gcpRegion  string
    11  	gcpZone    string
    12  	dryRun     bool
    13  }
    14  
    15  func NewClient(repo *database.Repo, gcpProject, gcpRegion, gcpZone string, dryRun bool) *Client {
    16  	return &Client{
    17  		repo:       repo,
    18  		gcpProject: gcpProject,
    19  		gcpRegion:  gcpRegion,
    20  		gcpZone:    gcpZone,
    21  		dryRun:     dryRun,
    22  	}
    23  }