Documentation ¶
Index ¶
- Constants
- type GitSource
- type InMemSource
- type LocationFilterSpecification
- type RemoteSecretSpecification
- 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.Config) 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) SetAppRegistry(appName string, server string, username string, password string) error
- func (apps *SourceApps) SetAppSecret(appName string, secretName string, secretValue string) error
- func (apps *SourceApps) Unmarshal(path string, y []byte, cfg config.Config)
Constants ¶
View Source
const ( AzureContainerAppVersion = "aca.xenit.io/v1alpha1" AzureContainerAppKind = "AzureContainerApp" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemSource ¶
type InMemSource struct {
// contains filtered or unexported fields
}
func NewInMemSource ¶
func NewInMemSource() *InMemSource
func (*InMemSource) Get ¶
func (s *InMemSource) Get(ctx context.Context) (*SourceApps, string, error)
func (*InMemSource) GetResponse ¶
func (s *InMemSource) GetResponse(sourceApps *SourceApps, revision string, err error)
type LocationFilterSpecification ¶ added in v0.0.11
type LocationFilterSpecification string
type RemoteSecretSpecification ¶ added in v0.0.5
type RemoteSecretSpecification struct { AppSecretName *string `json:"appSecretName,omitempty" yaml:"appSecretName,omitempty"` RemoteSecretName *string `json:"remoteSecretName,omitempty" yaml:"remoteSecretName,omitempty"` }
func (*RemoteSecretSpecification) Valid ¶ added in v0.0.5
func (r *RemoteSecretSpecification) Valid() bool
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"` }
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) SetAppRegistry ¶ added in v0.0.6
func (*SourceApps) SetAppSecret ¶ added in v0.0.5
func (apps *SourceApps) SetAppSecret(appName string, secretName string, secretValue string) error
Click to show internal directories.
Click to hide internal directories.