Documentation ¶
Index ¶
- Constants
- type GitSource
- type ImageReplacementSpecification
- type InMemSource
- type LocationFilterSpecification
- type RemoteSecretSpecification
- type ReplacementsSpecification
- type Source
- type SourceApp
- func (app *SourceApp) Error() error
- func (app *SourceApp) GetRemoteSecrets() []RemoteSecretSpecification
- func (app *SourceApp) Name() string
- func (app *SourceApp) SetRegistry(server string, username string, password string) error
- func (app *SourceApp) SetSecret(name string, value string) error
- func (app *SourceApp) ShoudRunInLocation(currentLocation string) bool
- func (app *SourceApp) Unmarshal(y []byte, cfg config.ReconcileConfig) (bool, error)
- func (app *SourceApp) ValidateFields() error
- type SourceAppSpecification
- type SourceApps
- func (apps *SourceApps) Delete(name string)
- func (apps *SourceApps) Error() error
- func (apps *SourceApps) Get(name string) (SourceApp, bool)
- func (apps *SourceApps) GetSortedNames() []string
- func (apps *SourceApps) GetUniqueRemoteSecretNames() []string
- func (apps *SourceApps) SetRegistry(name string, server string, username string, password string) error
- func (apps *SourceApps) SetSecret(name string, secretName string, secretValue string) error
- func (apps *SourceApps) Unmarshal(path string, y []byte, cfg config.ReconcileConfig)
- type SourceJob
- func (job *SourceJob) Error() error
- func (job *SourceJob) GetRemoteSecrets() []RemoteSecretSpecification
- func (job *SourceJob) Name() string
- func (job *SourceJob) SetRegistry(server string, username string, password string) error
- func (job *SourceJob) SetSecret(name string, value string) error
- func (job *SourceJob) ShoudRunInLocation(currentLocation string) bool
- func (job *SourceJob) Unmarshal(y []byte, cfg config.ReconcileConfig) (bool, error)
- func (job *SourceJob) ValidateFields() error
- type SourceJobSpecification
- type SourceJobs
- func (jobs *SourceJobs) Delete(name string)
- func (jobs *SourceJobs) Error() error
- func (jobs *SourceJobs) Get(name string) (SourceJob, bool)
- func (jobs *SourceJobs) GetSortedNames() []string
- func (jobs *SourceJobs) GetUniqueRemoteSecretNames() []string
- func (jobs *SourceJobs) SetRegistry(name string, server string, username string, password string) error
- func (jobs *SourceJobs) SetSecret(name string, secretName string, secretValue string) error
- func (jobs *SourceJobs) Unmarshal(path string, y []byte, cfg config.ReconcileConfig)
- type Sources
Constants ¶
View Source
const ( AzureContainerAppVersion = "aca.xenit.io/v1alpha2" AzureContainerAppKind = "AzureContainerApp" )
View Source
const ( AzureContainerJobVersion = "aca.xenit.io/v1alpha2" AzureContainerJobKind = "AzureContainerJob" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitSource ¶
type GitSource struct {
// contains filtered or unexported fields
}
func NewGitSource ¶
func NewGitSource(cfg config.ReconcileConfig, revisionCache cache.RevisionCache) (*GitSource, error)
type ImageReplacementSpecification ¶ added in v0.0.13
type InMemSource ¶
type InMemSource struct {
// contains filtered or unexported fields
}
func NewInMemSource ¶
func NewInMemSource() *InMemSource
func (*InMemSource) GetResponse ¶
func (s *InMemSource) GetResponse(sources *Sources, revision string, err error)
type LocationFilterSpecification ¶ added in v0.0.11
type LocationFilterSpecification string
type RemoteSecretSpecification ¶ added in v0.0.5
type RemoteSecretSpecification struct { SecretName *string `json:"secretName,omitempty" yaml:"secretName,omitempty"` RemoteSecretName *string `json:"remoteSecretName,omitempty" yaml:"remoteSecretName,omitempty"` }
func (*RemoteSecretSpecification) Valid ¶ added in v0.0.5
func (r *RemoteSecretSpecification) Valid() bool
type ReplacementsSpecification ¶ added in v0.0.13
type ReplacementsSpecification struct {
Images []ImageReplacementSpecification `json:"images,omitempty" yaml:"image,omitempty"`
}
type SourceApp ¶
type SourceApp struct { Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` Metadata map[string]string `json:"metadata,omitempty" yaml:"metadata,omitempty"` Specification *SourceAppSpecification `json:"spec,omitempty" yaml:"spec,omitempty"` Err error }
func (*SourceApp) GetRemoteSecrets ¶ added in v0.0.5
func (app *SourceApp) GetRemoteSecrets() []RemoteSecretSpecification
func (*SourceApp) SetRegistry ¶ added in v0.0.6
func (*SourceApp) ShoudRunInLocation ¶ added in v0.0.11
func (*SourceApp) ValidateFields ¶
type SourceAppSpecification ¶ added in v0.0.2
type SourceAppSpecification struct { App *armappcontainers.ContainerApp `json:"app,omitempty" yaml:"app,omitempty"` RemoteSecrets []RemoteSecretSpecification `json:"remoteSecrets,omitempty" yaml:"remoteSecrets,omitempty"` LocationFilter []LocationFilterSpecification `json:"locationFilter,omitempty" yaml:"locationFilter,omitempty"` Replacements *ReplacementsSpecification `json:"replacements,omitempty" yaml:"replacements,omitempty"` }
type SourceApps ¶
func (*SourceApps) Delete ¶ added in v0.0.11
func (apps *SourceApps) Delete(name string)
func (*SourceApps) Error ¶
func (apps *SourceApps) Error() error
func (*SourceApps) GetSortedNames ¶
func (apps *SourceApps) GetSortedNames() []string
func (*SourceApps) GetUniqueRemoteSecretNames ¶ added in v0.0.5
func (apps *SourceApps) GetUniqueRemoteSecretNames() []string
func (*SourceApps) SetRegistry ¶ added in v0.0.18
func (*SourceApps) SetSecret ¶ added in v0.0.18
func (apps *SourceApps) SetSecret(name string, secretName string, secretValue string) error
func (*SourceApps) Unmarshal ¶
func (apps *SourceApps) Unmarshal(path string, y []byte, cfg config.ReconcileConfig)
type SourceJob ¶ added in v0.0.18
type SourceJob struct { Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` Metadata map[string]string `json:"metadata,omitempty" yaml:"metadata,omitempty"` Specification *SourceJobSpecification `json:"spec,omitempty" yaml:"spec,omitempty"` Err error }
func (*SourceJob) GetRemoteSecrets ¶ added in v0.0.18
func (job *SourceJob) GetRemoteSecrets() []RemoteSecretSpecification
func (*SourceJob) SetRegistry ¶ added in v0.0.18
func (*SourceJob) ShoudRunInLocation ¶ added in v0.0.18
func (*SourceJob) ValidateFields ¶ added in v0.0.18
type SourceJobSpecification ¶ added in v0.0.18
type SourceJobSpecification struct { Job *armappcontainers.Job `json:"job,omitempty" yaml:"job,omitempty"` RemoteSecrets []RemoteSecretSpecification `json:"remoteSecrets,omitempty" yaml:"remoteSecrets,omitempty"` LocationFilter []LocationFilterSpecification `json:"locationFilter,omitempty" yaml:"locationFilter,omitempty"` Replacements *ReplacementsSpecification `json:"replacements,omitempty" yaml:"replacements,omitempty"` }
type SourceJobs ¶ added in v0.0.18
func (*SourceJobs) Delete ¶ added in v0.0.18
func (jobs *SourceJobs) Delete(name string)
func (*SourceJobs) Error ¶ added in v0.0.18
func (jobs *SourceJobs) Error() error
func (*SourceJobs) Get ¶ added in v0.0.18
func (jobs *SourceJobs) Get(name string) (SourceJob, bool)
func (*SourceJobs) GetSortedNames ¶ added in v0.0.18
func (jobs *SourceJobs) GetSortedNames() []string
func (*SourceJobs) GetUniqueRemoteSecretNames ¶ added in v0.0.18
func (jobs *SourceJobs) GetUniqueRemoteSecretNames() []string
func (*SourceJobs) SetRegistry ¶ added in v0.0.18
func (*SourceJobs) SetSecret ¶ added in v0.0.18
func (jobs *SourceJobs) SetSecret(name string, secretName string, secretValue string) error
func (*SourceJobs) Unmarshal ¶ added in v0.0.18
func (jobs *SourceJobs) Unmarshal(path string, y []byte, cfg config.ReconcileConfig)
type Sources ¶ added in v0.0.18
type Sources struct { Apps *SourceApps Jobs *SourceJobs }
func (*Sources) GetUniqueRemoteSecretNames ¶ added in v0.0.19
Click to show internal directories.
Click to hide internal directories.