Documentation ¶
Index ¶
- func Bytes(n int) []byte
- func GetContext(path string) io.Reader
- func PushImage(ctx context.Context, serviceName string, config *Config) error
- func String(n int, letters ...string) string
- type ArtifactoryService
- type Config
- func (c *Config) GetLocation(service *Service) string
- func (c *Config) GetLocationByRegion(region string) string
- func (c *Config) GetService(serviceName string) (*Service, error)
- func (c *Config) GetSqlInstanceTier(service *Service) string
- func (c *Config) ImageFullPath(service *Service) string
- func (c *Config) RepoBasePath() string
- func (c *Config) RepoFullPath() string
- func (c *Config) ServicePath(service *Service) string
- type Creds
- type Database
- type Organization
- type RunService
- func (run *RunService) Close() error
- func (run *RunService) CreateRunService(ctx context.Context, service *Service) error
- func (run *RunService) DeleteRunService(ctx context.Context, service *Service) error
- func (run *RunService) DeployServiceSequence(ctx context.Context, service *Service) (*string, error)
- func (run *RunService) GetRunService(ctx context.Context, service *Service) (*runpb.Service, error)
- func (run *RunService) ListDeployedServices(ctx context.Context, region string) ([]*runpb.Service, error)
- func (run *RunService) SetIamPolicy(ctx context.Context, service *Service) error
- func (run *RunService) UpsertRunService(ctx context.Context, service *Service) error
- type Service
- type SqlService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContext ¶
Types ¶
type ArtifactoryService ¶
type ArtifactoryService struct {
// contains filtered or unexported fields
}
func NewArtifactoryService ¶
func NewArtifactoryService(config *Config) *ArtifactoryService
func (*ArtifactoryService) Close ¶
func (as *ArtifactoryService) Close() error
func (*ArtifactoryService) CreateArtifactory ¶
func (a *ArtifactoryService) CreateArtifactory(ctx context.Context) error
type Config ¶
type Config struct { Organization Organization Creds Creds }
func (*Config) GetLocation ¶
func (*Config) GetLocationByRegion ¶
func (*Config) GetSqlInstanceTier ¶
func (*Config) ImageFullPath ¶
func (*Config) RepoBasePath ¶
func (*Config) RepoFullPath ¶
func (*Config) ServicePath ¶
type Organization ¶
type RunService ¶
type RunService struct {
// contains filtered or unexported fields
}
func NewRunService ¶
func NewRunService(config *Config) *RunService
func (*RunService) Close ¶
func (run *RunService) Close() error
func (*RunService) CreateRunService ¶
func (run *RunService) CreateRunService(ctx context.Context, service *Service) error
func (*RunService) DeleteRunService ¶
func (run *RunService) DeleteRunService(ctx context.Context, service *Service) error
func (*RunService) DeployServiceSequence ¶
func (*RunService) GetRunService ¶
func (*RunService) ListDeployedServices ¶
func (*RunService) SetIamPolicy ¶
func (run *RunService) SetIamPolicy(ctx context.Context, service *Service) error
func (*RunService) UpsertRunService ¶
func (run *RunService) UpsertRunService(ctx context.Context, service *Service) error
type Service ¶
func (*Service) GenRevisionString ¶
type SqlService ¶
type SqlService struct {
// contains filtered or unexported fields
}
func NewSqlService ¶
func NewSqlService(config *Config) *SqlService
func (*SqlService) CreateSqlInstance ¶
func (s *SqlService) CreateSqlInstance(ctx context.Context, service *Service) error
func (*SqlService) ListSqlInstances ¶
func (s *SqlService) ListSqlInstances(ctx context.Context) ([]*sql.DatabaseInstance, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.