Versions in this module Expand all Collapse all v0 v0.1.0 Jun 11, 2024 Changes in this version + type Backend struct + BackendConfig v1.BackendConfig + CreationTimestamp time.Time + Description string + ID uint + Name string + UpdateTimestamp time.Time + func (w *Backend) Validate() error + type GetConfig struct + Paths []string + Type *constant.SourceProviderType + type GetOption func(opt *GetConfig) + func WithPaths(paths ...string) GetOption + func WithType(typ constant.SourceProviderType) GetOption + type Organization struct + CreationTimestamp time.Time + Description string + DisplayName string + ID uint + Labels []string + Name string + Owners []string + UpdateTimestamp time.Time + func (p *Organization) Validate() error + type Project struct + CreationTimestamp time.Time + Description string + DisplayName string + ID uint + Labels []string + Name string + Organization *Organization + Owners []string + Path string + Source *Source + UpdateTimestamp time.Time + func (p *Project) ConvertToCore() (*v1.Project, error) + func (p *Project) Validate() error + type Source struct + CreationTimestamp time.Time + Description string + ID uint + Labels []string + Owners []string + Remote *url.URL + SourceProvider constant.SourceProviderType + UpdateTimestamp time.Time + func (s *Source) Summary() string + func (s *Source) Validate() error + type SourceProvider interface + Cleanup func(ctx context.Context) + Get func(ctx context.Context, opts ...GetOption) (string, error) + Type func() constant.SourceProviderType + type Stack struct + CreationTimestamp time.Time + Description string + DesiredVersion string + DisplayName string + ID uint + Labels []string + LastSyncTimestamp time.Time + Name string + Owners []string + Path string + Project *Project + SyncState constant.StackState + UpdateTimestamp time.Time + func (s *Stack) ConvertToCore() (*v1.Stack, error) + func (s *Stack) Validate() error + type Workspace struct + Backend *Backend + CreationTimestamp time.Time + Description string + DisplayName string + ID uint + Labels []string + Name string + Owners []string + UpdateTimestamp time.Time + func (w *Workspace) Validate() error