Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=argoproj.io +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true
Package v1alpha1 is a generated protocol buffer package. It is generated from these files: github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1/generated.proto It has these top-level messages: AppProject AppProjectList AppProjectSpec Application ApplicationCondition ApplicationDestination ApplicationList ApplicationSource ApplicationSpec ApplicationStatus ApplicationWatchEvent Cluster ClusterConfig ClusterList ComparisonResult ComponentParameter ConnectionState DeploymentInfo HealthStatus HookStatus Operation OperationState Repository RepositoryList ResourceDetails ResourceNode ResourceState RollbackOperation SyncOperation SyncOperationResult SyncStrategy SyncStrategyApply SyncStrategyHook TLSClientConfig
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- func UnmarshalToUnstructured(resource string) (*unstructured.Unstructured, error)
- type AppProject
- func (in *AppProject) DeepCopy() *AppProject
- func (in *AppProject) DeepCopyInto(out *AppProject)
- func (in *AppProject) DeepCopyObject() runtime.Object
- func (*AppProject) Descriptor() ([]byte, []int)
- func (proj AppProject) IsDefault() bool
- func (proj AppProject) IsDestinationPermitted(dst ApplicationDestination) bool
- func (proj AppProject) IsSourcePermitted(src ApplicationSource) bool
- func (m *AppProject) Marshal() (dAtA []byte, err error)
- func (m *AppProject) MarshalTo(dAtA []byte) (int, error)
- func (*AppProject) ProtoMessage()
- func (m *AppProject) Reset()
- func (m *AppProject) Size() (n int)
- func (this *AppProject) String() string
- func (m *AppProject) Unmarshal(dAtA []byte) error
- type AppProjectList
- func (in *AppProjectList) DeepCopy() *AppProjectList
- func (in *AppProjectList) DeepCopyInto(out *AppProjectList)
- func (in *AppProjectList) DeepCopyObject() runtime.Object
- func (*AppProjectList) Descriptor() ([]byte, []int)
- func (m *AppProjectList) Marshal() (dAtA []byte, err error)
- func (m *AppProjectList) MarshalTo(dAtA []byte) (int, error)
- func (*AppProjectList) ProtoMessage()
- func (m *AppProjectList) Reset()
- func (m *AppProjectList) Size() (n int)
- func (this *AppProjectList) String() string
- func (m *AppProjectList) Unmarshal(dAtA []byte) error
- type AppProjectSpec
- func (in *AppProjectSpec) DeepCopy() *AppProjectSpec
- func (in *AppProjectSpec) DeepCopyInto(out *AppProjectSpec)
- func (*AppProjectSpec) Descriptor() ([]byte, []int)
- func (m *AppProjectSpec) Marshal() (dAtA []byte, err error)
- func (m *AppProjectSpec) MarshalTo(dAtA []byte) (int, error)
- func (*AppProjectSpec) ProtoMessage()
- func (m *AppProjectSpec) Reset()
- func (m *AppProjectSpec) Size() (n int)
- func (this *AppProjectSpec) String() string
- func (m *AppProjectSpec) Unmarshal(dAtA []byte) error
- type Application
- func (app *Application) CascadedDeletion() bool
- func (in *Application) DeepCopy() *Application
- func (in *Application) DeepCopyInto(out *Application)
- func (in *Application) DeepCopyObject() runtime.Object
- func (*Application) Descriptor() ([]byte, []int)
- func (a *Application) GetMetadata() *objectMeta
- func (m *Application) Marshal() (dAtA []byte, err error)
- func (m *Application) MarshalTo(dAtA []byte) (int, error)
- func (*Application) ProtoMessage()
- func (m *Application) Reset()
- func (app *Application) SetCascadedDeletion(prune bool)
- func (m *Application) Size() (n int)
- func (this *Application) String() string
- func (m *Application) Unmarshal(dAtA []byte) error
- type ApplicationCondition
- func (in *ApplicationCondition) DeepCopy() *ApplicationCondition
- func (in *ApplicationCondition) DeepCopyInto(out *ApplicationCondition)
- func (*ApplicationCondition) Descriptor() ([]byte, []int)
- func (condition *ApplicationCondition) IsError() bool
- func (m *ApplicationCondition) Marshal() (dAtA []byte, err error)
- func (m *ApplicationCondition) MarshalTo(dAtA []byte) (int, error)
- func (*ApplicationCondition) ProtoMessage()
- func (m *ApplicationCondition) Reset()
- func (m *ApplicationCondition) Size() (n int)
- func (this *ApplicationCondition) String() string
- func (m *ApplicationCondition) Unmarshal(dAtA []byte) error
- type ApplicationConditionType
- type ApplicationDestination
- func (in *ApplicationDestination) DeepCopy() *ApplicationDestination
- func (in *ApplicationDestination) DeepCopyInto(out *ApplicationDestination)
- func (*ApplicationDestination) Descriptor() ([]byte, []int)
- func (m *ApplicationDestination) Marshal() (dAtA []byte, err error)
- func (m *ApplicationDestination) MarshalTo(dAtA []byte) (int, error)
- func (*ApplicationDestination) ProtoMessage()
- func (m *ApplicationDestination) Reset()
- func (m *ApplicationDestination) Size() (n int)
- func (this *ApplicationDestination) String() string
- func (m *ApplicationDestination) Unmarshal(dAtA []byte) error
- type ApplicationList
- func (in *ApplicationList) DeepCopy() *ApplicationList
- func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
- func (in *ApplicationList) DeepCopyObject() runtime.Object
- func (*ApplicationList) Descriptor() ([]byte, []int)
- func (m *ApplicationList) Marshal() (dAtA []byte, err error)
- func (m *ApplicationList) MarshalTo(dAtA []byte) (int, error)
- func (*ApplicationList) ProtoMessage()
- func (m *ApplicationList) Reset()
- func (m *ApplicationList) Size() (n int)
- func (this *ApplicationList) String() string
- func (m *ApplicationList) Unmarshal(dAtA []byte) error
- type ApplicationSource
- func (in *ApplicationSource) DeepCopy() *ApplicationSource
- func (in *ApplicationSource) DeepCopyInto(out *ApplicationSource)
- func (*ApplicationSource) Descriptor() ([]byte, []int)
- func (source ApplicationSource) Equals(other ApplicationSource) bool
- func (m *ApplicationSource) Marshal() (dAtA []byte, err error)
- func (m *ApplicationSource) MarshalTo(dAtA []byte) (int, error)
- func (*ApplicationSource) ProtoMessage()
- func (m *ApplicationSource) Reset()
- func (m *ApplicationSource) Size() (n int)
- func (this *ApplicationSource) String() string
- func (m *ApplicationSource) Unmarshal(dAtA []byte) error
- type ApplicationSpec
- func (spec ApplicationSpec) BelongsToDefaultProject() bool
- func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
- func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
- func (*ApplicationSpec) Descriptor() ([]byte, []int)
- func (spec ApplicationSpec) GetProject() string
- func (m *ApplicationSpec) Marshal() (dAtA []byte, err error)
- func (m *ApplicationSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ApplicationSpec) ProtoMessage()
- func (m *ApplicationSpec) Reset()
- func (m *ApplicationSpec) Size() (n int)
- func (this *ApplicationSpec) String() string
- func (m *ApplicationSpec) Unmarshal(dAtA []byte) error
- type ApplicationStatus
- func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
- func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
- func (*ApplicationStatus) Descriptor() ([]byte, []int)
- func (status *ApplicationStatus) GetErrorConditions() []ApplicationCondition
- func (m *ApplicationStatus) Marshal() (dAtA []byte, err error)
- func (m *ApplicationStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ApplicationStatus) ProtoMessage()
- func (m *ApplicationStatus) Reset()
- func (m *ApplicationStatus) Size() (n int)
- func (this *ApplicationStatus) String() string
- func (m *ApplicationStatus) Unmarshal(dAtA []byte) error
- type ApplicationWatchEvent
- func (in *ApplicationWatchEvent) DeepCopy() *ApplicationWatchEvent
- func (in *ApplicationWatchEvent) DeepCopyInto(out *ApplicationWatchEvent)
- func (*ApplicationWatchEvent) Descriptor() ([]byte, []int)
- func (m *ApplicationWatchEvent) Marshal() (dAtA []byte, err error)
- func (m *ApplicationWatchEvent) MarshalTo(dAtA []byte) (int, error)
- func (*ApplicationWatchEvent) ProtoMessage()
- func (m *ApplicationWatchEvent) Reset()
- func (m *ApplicationWatchEvent) Size() (n int)
- func (this *ApplicationWatchEvent) String() string
- func (m *ApplicationWatchEvent) Unmarshal(dAtA []byte) error
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (*Cluster) Descriptor() ([]byte, []int)
- func (m *Cluster) Marshal() (dAtA []byte, err error)
- func (m *Cluster) MarshalTo(dAtA []byte) (int, error)
- func (*Cluster) ProtoMessage()
- func (c *Cluster) RESTConfig() *rest.Config
- func (m *Cluster) Reset()
- func (m *Cluster) Size() (n int)
- func (this *Cluster) String() string
- func (m *Cluster) Unmarshal(dAtA []byte) error
- type ClusterConfig
- func (in *ClusterConfig) DeepCopy() *ClusterConfig
- func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig)
- func (*ClusterConfig) Descriptor() ([]byte, []int)
- func (m *ClusterConfig) Marshal() (dAtA []byte, err error)
- func (m *ClusterConfig) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterConfig) ProtoMessage()
- func (m *ClusterConfig) Reset()
- func (m *ClusterConfig) Size() (n int)
- func (this *ClusterConfig) String() string
- func (m *ClusterConfig) Unmarshal(dAtA []byte) error
- type ClusterList
- func (in *ClusterList) DeepCopy() *ClusterList
- func (in *ClusterList) DeepCopyInto(out *ClusterList)
- func (*ClusterList) Descriptor() ([]byte, []int)
- func (m *ClusterList) Marshal() (dAtA []byte, err error)
- func (m *ClusterList) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterList) ProtoMessage()
- func (m *ClusterList) Reset()
- func (m *ClusterList) Size() (n int)
- func (this *ClusterList) String() string
- func (m *ClusterList) Unmarshal(dAtA []byte) error
- type ComparisonResult
- func (in *ComparisonResult) DeepCopy() *ComparisonResult
- func (in *ComparisonResult) DeepCopyInto(out *ComparisonResult)
- func (*ComparisonResult) Descriptor() ([]byte, []int)
- func (cr *ComparisonResult) LiveObjects() ([]*unstructured.Unstructured, error)
- func (m *ComparisonResult) Marshal() (dAtA []byte, err error)
- func (m *ComparisonResult) MarshalTo(dAtA []byte) (int, error)
- func (*ComparisonResult) ProtoMessage()
- func (m *ComparisonResult) Reset()
- func (m *ComparisonResult) Size() (n int)
- func (this *ComparisonResult) String() string
- func (cr *ComparisonResult) TargetObjects() ([]*unstructured.Unstructured, error)
- func (m *ComparisonResult) Unmarshal(dAtA []byte) error
- type ComparisonStatus
- type ComponentParameter
- func (in *ComponentParameter) DeepCopy() *ComponentParameter
- func (in *ComponentParameter) DeepCopyInto(out *ComponentParameter)
- func (*ComponentParameter) Descriptor() ([]byte, []int)
- func (m *ComponentParameter) Marshal() (dAtA []byte, err error)
- func (m *ComponentParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ComponentParameter) ProtoMessage()
- func (m *ComponentParameter) Reset()
- func (m *ComponentParameter) Size() (n int)
- func (this *ComponentParameter) String() string
- func (m *ComponentParameter) Unmarshal(dAtA []byte) error
- type ConnectionState
- func (in *ConnectionState) DeepCopy() *ConnectionState
- func (in *ConnectionState) DeepCopyInto(out *ConnectionState)
- func (*ConnectionState) Descriptor() ([]byte, []int)
- func (m *ConnectionState) Marshal() (dAtA []byte, err error)
- func (m *ConnectionState) MarshalTo(dAtA []byte) (int, error)
- func (*ConnectionState) ProtoMessage()
- func (m *ConnectionState) Reset()
- func (m *ConnectionState) Size() (n int)
- func (this *ConnectionState) String() string
- func (m *ConnectionState) Unmarshal(dAtA []byte) error
- type ConnectionStatus
- type DeploymentInfo
- func (in *DeploymentInfo) DeepCopy() *DeploymentInfo
- func (in *DeploymentInfo) DeepCopyInto(out *DeploymentInfo)
- func (*DeploymentInfo) Descriptor() ([]byte, []int)
- func (m *DeploymentInfo) Marshal() (dAtA []byte, err error)
- func (m *DeploymentInfo) MarshalTo(dAtA []byte) (int, error)
- func (*DeploymentInfo) ProtoMessage()
- func (m *DeploymentInfo) Reset()
- func (m *DeploymentInfo) Size() (n int)
- func (this *DeploymentInfo) String() string
- func (m *DeploymentInfo) Unmarshal(dAtA []byte) error
- type HealthStatus
- func (in *HealthStatus) DeepCopy() *HealthStatus
- func (in *HealthStatus) DeepCopyInto(out *HealthStatus)
- func (*HealthStatus) Descriptor() ([]byte, []int)
- func (m *HealthStatus) Marshal() (dAtA []byte, err error)
- func (m *HealthStatus) MarshalTo(dAtA []byte) (int, error)
- func (*HealthStatus) ProtoMessage()
- func (m *HealthStatus) Reset()
- func (m *HealthStatus) Size() (n int)
- func (this *HealthStatus) String() string
- func (m *HealthStatus) Unmarshal(dAtA []byte) error
- type HealthStatusCode
- type HookDeletePolicy
- type HookStatus
- func (in *HookStatus) DeepCopy() *HookStatus
- func (in *HookStatus) DeepCopyInto(out *HookStatus)
- func (*HookStatus) Descriptor() ([]byte, []int)
- func (m *HookStatus) Marshal() (dAtA []byte, err error)
- func (m *HookStatus) MarshalTo(dAtA []byte) (int, error)
- func (*HookStatus) ProtoMessage()
- func (m *HookStatus) Reset()
- func (m *HookStatus) Size() (n int)
- func (this *HookStatus) String() string
- func (m *HookStatus) Unmarshal(dAtA []byte) error
- type HookType
- type Operation
- func (in *Operation) DeepCopy() *Operation
- func (in *Operation) DeepCopyInto(out *Operation)
- func (*Operation) Descriptor() ([]byte, []int)
- func (m *Operation) Marshal() (dAtA []byte, err error)
- func (m *Operation) MarshalTo(dAtA []byte) (int, error)
- func (*Operation) ProtoMessage()
- func (m *Operation) Reset()
- func (m *Operation) Size() (n int)
- func (this *Operation) String() string
- func (m *Operation) Unmarshal(dAtA []byte) error
- type OperationPhase
- type OperationState
- func (in *OperationState) DeepCopy() *OperationState
- func (in *OperationState) DeepCopyInto(out *OperationState)
- func (*OperationState) Descriptor() ([]byte, []int)
- func (m *OperationState) Marshal() (dAtA []byte, err error)
- func (m *OperationState) MarshalTo(dAtA []byte) (int, error)
- func (*OperationState) ProtoMessage()
- func (m *OperationState) Reset()
- func (m *OperationState) Size() (n int)
- func (this *OperationState) String() string
- func (m *OperationState) Unmarshal(dAtA []byte) error
- type Repository
- func (in *Repository) DeepCopy() *Repository
- func (in *Repository) DeepCopyInto(out *Repository)
- func (*Repository) Descriptor() ([]byte, []int)
- func (m *Repository) Marshal() (dAtA []byte, err error)
- func (m *Repository) MarshalTo(dAtA []byte) (int, error)
- func (*Repository) ProtoMessage()
- func (m *Repository) Reset()
- func (m *Repository) Size() (n int)
- func (this *Repository) String() string
- func (m *Repository) Unmarshal(dAtA []byte) error
- type RepositoryList
- func (in *RepositoryList) DeepCopy() *RepositoryList
- func (in *RepositoryList) DeepCopyInto(out *RepositoryList)
- func (*RepositoryList) Descriptor() ([]byte, []int)
- func (m *RepositoryList) Marshal() (dAtA []byte, err error)
- func (m *RepositoryList) MarshalTo(dAtA []byte) (int, error)
- func (*RepositoryList) ProtoMessage()
- func (m *RepositoryList) Reset()
- func (m *RepositoryList) Size() (n int)
- func (this *RepositoryList) String() string
- func (m *RepositoryList) Unmarshal(dAtA []byte) error
- type ResourceDetails
- func (in *ResourceDetails) DeepCopy() *ResourceDetails
- func (in *ResourceDetails) DeepCopyInto(out *ResourceDetails)
- func (*ResourceDetails) Descriptor() ([]byte, []int)
- func (m *ResourceDetails) Marshal() (dAtA []byte, err error)
- func (m *ResourceDetails) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceDetails) ProtoMessage()
- func (m *ResourceDetails) Reset()
- func (m *ResourceDetails) Size() (n int)
- func (this *ResourceDetails) String() string
- func (m *ResourceDetails) Unmarshal(dAtA []byte) error
- type ResourceNode
- func (in *ResourceNode) DeepCopy() *ResourceNode
- func (in *ResourceNode) DeepCopyInto(out *ResourceNode)
- func (*ResourceNode) Descriptor() ([]byte, []int)
- func (m *ResourceNode) Marshal() (dAtA []byte, err error)
- func (m *ResourceNode) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceNode) ProtoMessage()
- func (m *ResourceNode) Reset()
- func (m *ResourceNode) Size() (n int)
- func (this *ResourceNode) String() string
- func (m *ResourceNode) Unmarshal(dAtA []byte) error
- type ResourceState
- func (in *ResourceState) DeepCopy() *ResourceState
- func (in *ResourceState) DeepCopyInto(out *ResourceState)
- func (*ResourceState) Descriptor() ([]byte, []int)
- func (r ResourceState) LiveObject() (*unstructured.Unstructured, error)
- func (m *ResourceState) Marshal() (dAtA []byte, err error)
- func (m *ResourceState) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceState) ProtoMessage()
- func (m *ResourceState) Reset()
- func (m *ResourceState) Size() (n int)
- func (this *ResourceState) String() string
- func (r ResourceState) TargetObject() (*unstructured.Unstructured, error)
- func (m *ResourceState) Unmarshal(dAtA []byte) error
- type ResourceSyncStatus
- type RollbackOperation
- func (in *RollbackOperation) DeepCopy() *RollbackOperation
- func (in *RollbackOperation) DeepCopyInto(out *RollbackOperation)
- func (*RollbackOperation) Descriptor() ([]byte, []int)
- func (m *RollbackOperation) Marshal() (dAtA []byte, err error)
- func (m *RollbackOperation) MarshalTo(dAtA []byte) (int, error)
- func (*RollbackOperation) ProtoMessage()
- func (m *RollbackOperation) Reset()
- func (m *RollbackOperation) Size() (n int)
- func (this *RollbackOperation) String() string
- func (m *RollbackOperation) Unmarshal(dAtA []byte) error
- type SyncOperation
- func (in *SyncOperation) DeepCopy() *SyncOperation
- func (in *SyncOperation) DeepCopyInto(out *SyncOperation)
- func (*SyncOperation) Descriptor() ([]byte, []int)
- func (m *SyncOperation) Marshal() (dAtA []byte, err error)
- func (m *SyncOperation) MarshalTo(dAtA []byte) (int, error)
- func (*SyncOperation) ProtoMessage()
- func (m *SyncOperation) Reset()
- func (m *SyncOperation) Size() (n int)
- func (this *SyncOperation) String() string
- func (m *SyncOperation) Unmarshal(dAtA []byte) error
- type SyncOperationResult
- func (in *SyncOperationResult) DeepCopy() *SyncOperationResult
- func (in *SyncOperationResult) DeepCopyInto(out *SyncOperationResult)
- func (*SyncOperationResult) Descriptor() ([]byte, []int)
- func (m *SyncOperationResult) Marshal() (dAtA []byte, err error)
- func (m *SyncOperationResult) MarshalTo(dAtA []byte) (int, error)
- func (*SyncOperationResult) ProtoMessage()
- func (m *SyncOperationResult) Reset()
- func (m *SyncOperationResult) Size() (n int)
- func (this *SyncOperationResult) String() string
- func (m *SyncOperationResult) Unmarshal(dAtA []byte) error
- type SyncStrategy
- func (in *SyncStrategy) DeepCopy() *SyncStrategy
- func (in *SyncStrategy) DeepCopyInto(out *SyncStrategy)
- func (*SyncStrategy) Descriptor() ([]byte, []int)
- func (m *SyncStrategy) Marshal() (dAtA []byte, err error)
- func (m *SyncStrategy) MarshalTo(dAtA []byte) (int, error)
- func (*SyncStrategy) ProtoMessage()
- func (m *SyncStrategy) Reset()
- func (m *SyncStrategy) Size() (n int)
- func (this *SyncStrategy) String() string
- func (m *SyncStrategy) Unmarshal(dAtA []byte) error
- type SyncStrategyApply
- func (in *SyncStrategyApply) DeepCopy() *SyncStrategyApply
- func (in *SyncStrategyApply) DeepCopyInto(out *SyncStrategyApply)
- func (*SyncStrategyApply) Descriptor() ([]byte, []int)
- func (m *SyncStrategyApply) Marshal() (dAtA []byte, err error)
- func (m *SyncStrategyApply) MarshalTo(dAtA []byte) (int, error)
- func (*SyncStrategyApply) ProtoMessage()
- func (m *SyncStrategyApply) Reset()
- func (m *SyncStrategyApply) Size() (n int)
- func (this *SyncStrategyApply) String() string
- func (m *SyncStrategyApply) Unmarshal(dAtA []byte) error
- type SyncStrategyHook
- func (in *SyncStrategyHook) DeepCopy() *SyncStrategyHook
- func (in *SyncStrategyHook) DeepCopyInto(out *SyncStrategyHook)
- func (*SyncStrategyHook) Descriptor() ([]byte, []int)
- func (m *SyncStrategyHook) Marshal() (dAtA []byte, err error)
- func (m *SyncStrategyHook) MarshalTo(dAtA []byte) (int, error)
- func (*SyncStrategyHook) ProtoMessage()
- func (m *SyncStrategyHook) Reset()
- func (m *SyncStrategyHook) Size() (n int)
- func (this *SyncStrategyHook) String() string
- func (m *SyncStrategyHook) Unmarshal(dAtA []byte) error
- type TLSClientConfig
- func (in *TLSClientConfig) DeepCopy() *TLSClientConfig
- func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig)
- func (*TLSClientConfig) Descriptor() ([]byte, []int)
- func (m *TLSClientConfig) Marshal() (dAtA []byte, err error)
- func (m *TLSClientConfig) MarshalTo(dAtA []byte) (int, error)
- func (*TLSClientConfig) ProtoMessage()
- func (m *TLSClientConfig) Reset()
- func (m *TLSClientConfig) Size() (n int)
- func (this *TLSClientConfig) String() string
- func (m *TLSClientConfig) Unmarshal(dAtA []byte) error
Constants ¶
const ( // ApplicationConditionDeletionError indicates that controller failed to delete application ApplicationConditionDeletionError = "DeletionError" // ApplicationConditionInvalidSpecError indicates that application source is invalid ApplicationConditionInvalidSpecError = "InvalidSpecError" // ApplicationComparisonError indicates controller failed to compare application state ApplicationConditionComparisonError = "ComparisonError" // ApplicationConditionUnknownError indicates an unknown controller error ApplicationConditionUnknownError = "UnknownError" ApplicationConditionSharedResourceWarning = "SharedResourceWarning" )
const ( HealthStatusUnknown = "Unknown" HealthStatusProgressing = "Progressing" HealthStatusHealthy = "Healthy" HealthStatusDegraded = "Degraded" HealthStatusMissing = "Missing" )
const ( ConnectionStatusUnknown = "Unknown" ConnectionStatusSuccessful = "Successful" ConnectionStatusFailed = "Failed" )
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: application.Group, Version: "v1alpha1"} ApplicationSchemaGroupVersionKind = schema.GroupVersionKind{Group: application.Group, Version: "v1alpha1", Kind: application.ApplicationKind} AppProjectSchemaGroupVersionKind = schema.GroupVersionKind{Group: application.Group, Version: "v1alpha1", Kind: application.AppProjectKind} )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
func UnmarshalToUnstructured ¶
func UnmarshalToUnstructured(resource string) (*unstructured.Unstructured, error)
Types ¶
type AppProject ¶ added in v0.6.0
type AppProject struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"` Spec AppProjectSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` }
AppProject is a definition of AppProject resource. +genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func GetDefaultProject ¶ added in v0.6.0
func GetDefaultProject(namespace string) AppProject
func (*AppProject) DeepCopy ¶ added in v0.6.0
func (in *AppProject) DeepCopy() *AppProject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppProject.
func (*AppProject) DeepCopyInto ¶ added in v0.6.0
func (in *AppProject) DeepCopyInto(out *AppProject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppProject) DeepCopyObject ¶ added in v0.6.0
func (in *AppProject) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AppProject) Descriptor ¶ added in v0.6.0
func (*AppProject) Descriptor() ([]byte, []int)
func (AppProject) IsDefault ¶ added in v0.6.0
func (proj AppProject) IsDefault() bool
func (AppProject) IsDestinationPermitted ¶ added in v0.6.0
func (proj AppProject) IsDestinationPermitted(dst ApplicationDestination) bool
func (AppProject) IsSourcePermitted ¶ added in v0.6.0
func (proj AppProject) IsSourcePermitted(src ApplicationSource) bool
func (*AppProject) Marshal ¶ added in v0.6.0
func (m *AppProject) Marshal() (dAtA []byte, err error)
func (*AppProject) MarshalTo ¶ added in v0.6.0
func (m *AppProject) MarshalTo(dAtA []byte) (int, error)
func (*AppProject) ProtoMessage ¶ added in v0.6.0
func (*AppProject) ProtoMessage()
func (*AppProject) Reset ¶ added in v0.6.0
func (m *AppProject) Reset()
func (*AppProject) Size ¶ added in v0.6.0
func (m *AppProject) Size() (n int)
func (*AppProject) String ¶ added in v0.6.0
func (this *AppProject) String() string
func (*AppProject) Unmarshal ¶ added in v0.6.0
func (m *AppProject) Unmarshal(dAtA []byte) error
type AppProjectList ¶ added in v0.6.0
type AppProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"` Items []AppProject `json:"items" protobuf:"bytes,2,rep,name=items"` }
AppProjectList is list of AppProject resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AppProjectList) DeepCopy ¶ added in v0.6.0
func (in *AppProjectList) DeepCopy() *AppProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppProjectList.
func (*AppProjectList) DeepCopyInto ¶ added in v0.6.0
func (in *AppProjectList) DeepCopyInto(out *AppProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppProjectList) DeepCopyObject ¶ added in v0.6.0
func (in *AppProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AppProjectList) Descriptor ¶ added in v0.6.0
func (*AppProjectList) Descriptor() ([]byte, []int)
func (*AppProjectList) Marshal ¶ added in v0.6.0
func (m *AppProjectList) Marshal() (dAtA []byte, err error)
func (*AppProjectList) MarshalTo ¶ added in v0.6.0
func (m *AppProjectList) MarshalTo(dAtA []byte) (int, error)
func (*AppProjectList) ProtoMessage ¶ added in v0.6.0
func (*AppProjectList) ProtoMessage()
func (*AppProjectList) Reset ¶ added in v0.6.0
func (m *AppProjectList) Reset()
func (*AppProjectList) Size ¶ added in v0.6.0
func (m *AppProjectList) Size() (n int)
func (*AppProjectList) String ¶ added in v0.6.0
func (this *AppProjectList) String() string
func (*AppProjectList) Unmarshal ¶ added in v0.6.0
func (m *AppProjectList) Unmarshal(dAtA []byte) error
type AppProjectSpec ¶ added in v0.6.0
type AppProjectSpec struct { // SourceRepos contains list of git repository URLs which can be used for deployment SourceRepos []string `json:"sources" protobuf:"bytes,1,name=destination"` // Destinations contains list of destinations available for deployment Destinations []ApplicationDestination `json:"destinations" protobuf:"bytes,2,name=destination"` // Description contains optional project description Description string `json:"description,omitempty" protobuf:"bytes,3,opt,name=description"` }
AppProjectSpec represents
func (*AppProjectSpec) DeepCopy ¶ added in v0.6.0
func (in *AppProjectSpec) DeepCopy() *AppProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppProjectSpec.
func (*AppProjectSpec) DeepCopyInto ¶ added in v0.6.0
func (in *AppProjectSpec) DeepCopyInto(out *AppProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppProjectSpec) Descriptor ¶ added in v0.6.0
func (*AppProjectSpec) Descriptor() ([]byte, []int)
func (*AppProjectSpec) Marshal ¶ added in v0.6.0
func (m *AppProjectSpec) Marshal() (dAtA []byte, err error)
func (*AppProjectSpec) MarshalTo ¶ added in v0.6.0
func (m *AppProjectSpec) MarshalTo(dAtA []byte) (int, error)
func (*AppProjectSpec) ProtoMessage ¶ added in v0.6.0
func (*AppProjectSpec) ProtoMessage()
func (*AppProjectSpec) Reset ¶ added in v0.6.0
func (m *AppProjectSpec) Reset()
func (*AppProjectSpec) Size ¶ added in v0.6.0
func (m *AppProjectSpec) Size() (n int)
func (*AppProjectSpec) String ¶ added in v0.6.0
func (this *AppProjectSpec) String() string
func (*AppProjectSpec) Unmarshal ¶ added in v0.6.0
func (m *AppProjectSpec) Unmarshal(dAtA []byte) error
type Application ¶
type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"` Spec ApplicationSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` Status ApplicationStatus `json:"status" protobuf:"bytes,3,opt,name=status"` Operation *Operation `json:"operation,omitempty" protobuf:"bytes,4,opt,name=operation"` }
Application is a definition of Application resource. +genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Application) CascadedDeletion ¶ added in v0.4.0
func (app *Application) CascadedDeletion() bool
CascadedDeletion indicates if resources finalizer is set and controller should delete app resources before deleting app
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Application) Descriptor ¶
func (*Application) Descriptor() ([]byte, []int)
func (*Application) GetMetadata ¶
func (a *Application) GetMetadata() *objectMeta
func (*Application) Marshal ¶
func (m *Application) Marshal() (dAtA []byte, err error)
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) Reset ¶
func (m *Application) Reset()
func (*Application) SetCascadedDeletion ¶ added in v0.4.0
func (app *Application) SetCascadedDeletion(prune bool)
SetCascadedDeletion sets or remove resources finalizer
func (*Application) Size ¶
func (m *Application) Size() (n int)
func (*Application) String ¶
func (this *Application) String() string
func (*Application) Unmarshal ¶
func (m *Application) Unmarshal(dAtA []byte) error
type ApplicationCondition ¶ added in v0.4.0
type ApplicationCondition struct { // Type is an application condition type Type ApplicationConditionType `json:"type" protobuf:"bytes,1,opt,name=type"` // Message contains human-readable message indicating details about condition Message string `json:"message" protobuf:"bytes,2,opt,name=message"` }
ApplicationCondition contains details about current application condition
func (*ApplicationCondition) DeepCopy ¶ added in v0.4.0
func (in *ApplicationCondition) DeepCopy() *ApplicationCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationCondition.
func (*ApplicationCondition) DeepCopyInto ¶ added in v0.4.0
func (in *ApplicationCondition) DeepCopyInto(out *ApplicationCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationCondition) Descriptor ¶ added in v0.4.0
func (*ApplicationCondition) Descriptor() ([]byte, []int)
func (*ApplicationCondition) IsError ¶ added in v0.6.0
func (condition *ApplicationCondition) IsError() bool
IsError returns true if condition is error condition
func (*ApplicationCondition) Marshal ¶ added in v0.4.0
func (m *ApplicationCondition) Marshal() (dAtA []byte, err error)
func (*ApplicationCondition) MarshalTo ¶ added in v0.4.0
func (m *ApplicationCondition) MarshalTo(dAtA []byte) (int, error)
func (*ApplicationCondition) ProtoMessage ¶ added in v0.4.0
func (*ApplicationCondition) ProtoMessage()
func (*ApplicationCondition) Reset ¶ added in v0.4.0
func (m *ApplicationCondition) Reset()
func (*ApplicationCondition) Size ¶ added in v0.4.0
func (m *ApplicationCondition) Size() (n int)
func (*ApplicationCondition) String ¶ added in v0.4.0
func (this *ApplicationCondition) String() string
func (*ApplicationCondition) Unmarshal ¶ added in v0.4.0
func (m *ApplicationCondition) Unmarshal(dAtA []byte) error
type ApplicationConditionType ¶ added in v0.4.0
type ApplicationConditionType = string
ApplicationConditionType represents type of application condition. Type name has following convention: prefix "Error" means error condition prefix "Warning" means warning condition prefix "Info" means informational condition
type ApplicationDestination ¶
type ApplicationDestination struct { // Server overrides the environment server value in the ksonnet app.yaml Server string `json:"server,omitempty" protobuf:"bytes,1,opt,name=server"` // Namespace overrides the environment namespace value in the ksonnet app.yaml Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"` }
ApplicationDestination contains deployment destination information
func (*ApplicationDestination) DeepCopy ¶
func (in *ApplicationDestination) DeepCopy() *ApplicationDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDestination.
func (*ApplicationDestination) DeepCopyInto ¶
func (in *ApplicationDestination) DeepCopyInto(out *ApplicationDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationDestination) Descriptor ¶
func (*ApplicationDestination) Descriptor() ([]byte, []int)
func (*ApplicationDestination) Marshal ¶
func (m *ApplicationDestination) Marshal() (dAtA []byte, err error)
func (*ApplicationDestination) MarshalTo ¶
func (m *ApplicationDestination) MarshalTo(dAtA []byte) (int, error)
func (*ApplicationDestination) ProtoMessage ¶
func (*ApplicationDestination) ProtoMessage()
func (*ApplicationDestination) Reset ¶
func (m *ApplicationDestination) Reset()
func (*ApplicationDestination) Size ¶
func (m *ApplicationDestination) Size() (n int)
func (*ApplicationDestination) String ¶
func (this *ApplicationDestination) String() string
func (*ApplicationDestination) Unmarshal ¶
func (m *ApplicationDestination) Unmarshal(dAtA []byte) error
type ApplicationList ¶
type ApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"` Items []Application `json:"items" protobuf:"bytes,2,rep,name=items"` }
ApplicationList is list of Application resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApplicationList) Descriptor ¶
func (*ApplicationList) Descriptor() ([]byte, []int)
func (*ApplicationList) Marshal ¶
func (m *ApplicationList) Marshal() (dAtA []byte, err error)
func (*ApplicationList) ProtoMessage ¶
func (*ApplicationList) ProtoMessage()
func (*ApplicationList) Reset ¶
func (m *ApplicationList) Reset()
func (*ApplicationList) Size ¶
func (m *ApplicationList) Size() (n int)
func (*ApplicationList) String ¶
func (this *ApplicationList) String() string
func (*ApplicationList) Unmarshal ¶
func (m *ApplicationList) Unmarshal(dAtA []byte) error
type ApplicationSource ¶
type ApplicationSource struct { // RepoURL is the git repository URL of the application manifests RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"` // Path is a directory path within the repository containing a Path string `json:"path" protobuf:"bytes,2,opt,name=path"` // Environment is a ksonnet application environment name Environment string `json:"environment,omitempty" protobuf:"bytes,3,opt,name=environment"` // TargetRevision defines the commit, tag, or branch in which to sync the application to. // If omitted, will sync to HEAD TargetRevision string `json:"targetRevision,omitempty" protobuf:"bytes,4,opt,name=targetRevision"` // ComponentParameterOverrides are a list of parameter override values ComponentParameterOverrides []ComponentParameter `json:"componentParameterOverrides,omitempty" protobuf:"bytes,5,opt,name=componentParameterOverrides"` // ValuesFiles is a list of Helm values files to use when generating a template ValuesFiles []string `json:"valuesFiles,omitempty" protobuf:"bytes,6,opt,name=valuesFiles"` }
ApplicationSource contains information about github repository, path within repository and target application environment.
func (*ApplicationSource) DeepCopy ¶
func (in *ApplicationSource) DeepCopy() *ApplicationSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSource.
func (*ApplicationSource) DeepCopyInto ¶
func (in *ApplicationSource) DeepCopyInto(out *ApplicationSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationSource) Descriptor ¶
func (*ApplicationSource) Descriptor() ([]byte, []int)
func (ApplicationSource) Equals ¶
func (source ApplicationSource) Equals(other ApplicationSource) bool
Equals compares two instances of ApplicationSource and return true if instances are equal.
func (*ApplicationSource) Marshal ¶
func (m *ApplicationSource) Marshal() (dAtA []byte, err error)
func (*ApplicationSource) MarshalTo ¶
func (m *ApplicationSource) MarshalTo(dAtA []byte) (int, error)
func (*ApplicationSource) ProtoMessage ¶
func (*ApplicationSource) ProtoMessage()
func (*ApplicationSource) Reset ¶
func (m *ApplicationSource) Reset()
func (*ApplicationSource) Size ¶
func (m *ApplicationSource) Size() (n int)
func (*ApplicationSource) String ¶
func (this *ApplicationSource) String() string
func (*ApplicationSource) Unmarshal ¶
func (m *ApplicationSource) Unmarshal(dAtA []byte) error
type ApplicationSpec ¶
type ApplicationSpec struct { // Source is a reference to the location ksonnet application definition Source ApplicationSource `json:"source" protobuf:"bytes,1,opt,name=source"` // Destination overrides the kubernetes server and namespace defined in the environment ksonnet app.yaml Destination ApplicationDestination `json:"destination" protobuf:"bytes,2,name=destination"` // Project is a application project name. Empty name means that application belongs to 'default' project. Project string `json:"project" protobuf:"bytes,3,name=project"` }
ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision.
func (ApplicationSpec) BelongsToDefaultProject ¶ added in v0.6.0
func (spec ApplicationSpec) BelongsToDefaultProject() bool
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationSpec) Descriptor ¶
func (*ApplicationSpec) Descriptor() ([]byte, []int)
func (ApplicationSpec) GetProject ¶ added in v0.6.0
func (spec ApplicationSpec) GetProject() string
func (*ApplicationSpec) Marshal ¶
func (m *ApplicationSpec) Marshal() (dAtA []byte, err error)
func (*ApplicationSpec) ProtoMessage ¶
func (*ApplicationSpec) ProtoMessage()
func (*ApplicationSpec) Reset ¶
func (m *ApplicationSpec) Reset()
func (*ApplicationSpec) Size ¶
func (m *ApplicationSpec) Size() (n int)
func (*ApplicationSpec) String ¶
func (this *ApplicationSpec) String() string
func (*ApplicationSpec) Unmarshal ¶
func (m *ApplicationSpec) Unmarshal(dAtA []byte) error
type ApplicationStatus ¶
type ApplicationStatus struct { ComparisonResult ComparisonResult `json:"comparisonResult" protobuf:"bytes,1,opt,name=comparisonResult"` History []DeploymentInfo `json:"history" protobuf:"bytes,2,opt,name=history"` Parameters []ComponentParameter `json:"parameters,omitempty" protobuf:"bytes,3,opt,name=parameters"` Health HealthStatus `json:"health,omitempty" protobuf:"bytes,4,opt,name=health"` OperationState *OperationState `json:"operationState,omitempty" protobuf:"bytes,5,opt,name=operationState"` Conditions []ApplicationCondition `json:"conditions,omitempty" protobuf:"bytes,6,opt,name=conditions"` }
ApplicationStatus contains information about application status in target environment.
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationStatus) Descriptor ¶
func (*ApplicationStatus) Descriptor() ([]byte, []int)
func (*ApplicationStatus) GetErrorConditions ¶ added in v0.6.0
func (status *ApplicationStatus) GetErrorConditions() []ApplicationCondition
GetErrorConditions returns list of application error conditions
func (*ApplicationStatus) Marshal ¶
func (m *ApplicationStatus) Marshal() (dAtA []byte, err error)
func (*ApplicationStatus) MarshalTo ¶
func (m *ApplicationStatus) MarshalTo(dAtA []byte) (int, error)
func (*ApplicationStatus) ProtoMessage ¶
func (*ApplicationStatus) ProtoMessage()
func (*ApplicationStatus) Reset ¶
func (m *ApplicationStatus) Reset()
func (*ApplicationStatus) Size ¶
func (m *ApplicationStatus) Size() (n int)
func (*ApplicationStatus) String ¶
func (this *ApplicationStatus) String() string
func (*ApplicationStatus) Unmarshal ¶
func (m *ApplicationStatus) Unmarshal(dAtA []byte) error
type ApplicationWatchEvent ¶
type ApplicationWatchEvent struct { Type watch.EventType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=k8s.io/apimachinery/pkg/watch.EventType"` // Application is: // * If Type is Added or Modified: the new state of the object. // * If Type is Deleted: the state of the object immediately before deletion. // * If Type is Error: *api.Status is recommended; other types may make sense // depending on context. Application Application `json:"application" protobuf:"bytes,2,opt,name=application"` }
ApplicationWatchEvent contains information about application change.
func (*ApplicationWatchEvent) DeepCopy ¶
func (in *ApplicationWatchEvent) DeepCopy() *ApplicationWatchEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationWatchEvent.
func (*ApplicationWatchEvent) DeepCopyInto ¶
func (in *ApplicationWatchEvent) DeepCopyInto(out *ApplicationWatchEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationWatchEvent) Descriptor ¶
func (*ApplicationWatchEvent) Descriptor() ([]byte, []int)
func (*ApplicationWatchEvent) Marshal ¶
func (m *ApplicationWatchEvent) Marshal() (dAtA []byte, err error)
func (*ApplicationWatchEvent) MarshalTo ¶
func (m *ApplicationWatchEvent) MarshalTo(dAtA []byte) (int, error)
func (*ApplicationWatchEvent) ProtoMessage ¶
func (*ApplicationWatchEvent) ProtoMessage()
func (*ApplicationWatchEvent) Reset ¶
func (m *ApplicationWatchEvent) Reset()
func (*ApplicationWatchEvent) Size ¶
func (m *ApplicationWatchEvent) Size() (n int)
func (*ApplicationWatchEvent) String ¶
func (this *ApplicationWatchEvent) String() string
func (*ApplicationWatchEvent) Unmarshal ¶
func (m *ApplicationWatchEvent) Unmarshal(dAtA []byte) error
type Cluster ¶
type Cluster struct { // Server is the API server URL of the Kubernetes cluster Server string `json:"server" protobuf:"bytes,1,opt,name=server"` // Name of the cluster. If omitted, will use the server address Name string `json:"name" protobuf:"bytes,2,opt,name=name"` // Config holds cluster information for connecting to a cluster Config ClusterConfig `json:"config" protobuf:"bytes,3,opt,name=config"` // ConnectionState contains information about cluster connection state ConnectionState ConnectionState `json:"connectionState,omitempty" protobuf:"bytes,4,opt,name=connectionState"` }
Cluster is the definition of a cluster resource
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) Descriptor ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) RESTConfig ¶
RESTConfig returns a go-client REST config from cluster
type ClusterConfig ¶
type ClusterConfig struct { // Server requires Basic authentication Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"` Password string `json:"password,omitempty" protobuf:"bytes,2,opt,name=password"` // Server requires Bearer authentication. This client will not attempt to use // refresh tokens for an OAuth2 flow. // TODO: demonstrate an OAuth2 compatible client. BearerToken string `json:"bearerToken,omitempty" protobuf:"bytes,3,opt,name=bearerToken"` // TLSClientConfig contains settings to enable transport layer security TLSClientConfig `json:"tlsClientConfig" protobuf:"bytes,4,opt,name=tlsClientConfig"` }
ClusterConfig is the configuration attributes. This structure is subset of the go-client rest.Config with annotations added for marshalling.
func (*ClusterConfig) DeepCopy ¶
func (in *ClusterConfig) DeepCopy() *ClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfig.
func (*ClusterConfig) DeepCopyInto ¶
func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterConfig) Descriptor ¶
func (*ClusterConfig) Descriptor() ([]byte, []int)
func (*ClusterConfig) Marshal ¶
func (m *ClusterConfig) Marshal() (dAtA []byte, err error)
func (*ClusterConfig) ProtoMessage ¶
func (*ClusterConfig) ProtoMessage()
func (*ClusterConfig) Reset ¶
func (m *ClusterConfig) Reset()
func (*ClusterConfig) Size ¶
func (m *ClusterConfig) Size() (n int)
func (*ClusterConfig) String ¶
func (this *ClusterConfig) String() string
func (*ClusterConfig) Unmarshal ¶
func (m *ClusterConfig) Unmarshal(dAtA []byte) error
type ClusterList ¶
type ClusterList struct { metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Cluster `json:"items" protobuf:"bytes,2,rep,name=items"` }
ClusterList is a collection of Clusters.
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) Descriptor ¶
func (*ClusterList) Descriptor() ([]byte, []int)
func (*ClusterList) Marshal ¶
func (m *ClusterList) Marshal() (dAtA []byte, err error)
func (*ClusterList) ProtoMessage ¶
func (*ClusterList) ProtoMessage()
func (*ClusterList) Reset ¶
func (m *ClusterList) Reset()
func (*ClusterList) Size ¶
func (m *ClusterList) Size() (n int)
func (*ClusterList) String ¶
func (this *ClusterList) String() string
func (*ClusterList) Unmarshal ¶
func (m *ClusterList) Unmarshal(dAtA []byte) error
type ComparisonResult ¶
type ComparisonResult struct { ComparedAt metav1.Time `json:"comparedAt" protobuf:"bytes,1,opt,name=comparedAt"` ComparedTo ApplicationSource `json:"comparedTo" protobuf:"bytes,2,opt,name=comparedTo"` Status ComparisonStatus `json:"status" protobuf:"bytes,5,opt,name=status,casttype=ComparisonStatus"` Resources []ResourceState `json:"resources" protobuf:"bytes,6,opt,name=resources"` }
ComparisonResult is a comparison result of application spec and deployed application.
func (*ComparisonResult) DeepCopy ¶
func (in *ComparisonResult) DeepCopy() *ComparisonResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComparisonResult.
func (*ComparisonResult) DeepCopyInto ¶
func (in *ComparisonResult) DeepCopyInto(out *ComparisonResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComparisonResult) Descriptor ¶
func (*ComparisonResult) Descriptor() ([]byte, []int)
func (*ComparisonResult) LiveObjects ¶
func (cr *ComparisonResult) LiveObjects() ([]*unstructured.Unstructured, error)
LiveObjects deserializes the list of live states into unstructured objects
func (*ComparisonResult) Marshal ¶
func (m *ComparisonResult) Marshal() (dAtA []byte, err error)
func (*ComparisonResult) ProtoMessage ¶
func (*ComparisonResult) ProtoMessage()
func (*ComparisonResult) Reset ¶
func (m *ComparisonResult) Reset()
func (*ComparisonResult) Size ¶
func (m *ComparisonResult) Size() (n int)
func (*ComparisonResult) String ¶
func (this *ComparisonResult) String() string
func (*ComparisonResult) TargetObjects ¶
func (cr *ComparisonResult) TargetObjects() ([]*unstructured.Unstructured, error)
TargetObjects deserializes the list of target states into unstructured objects
func (*ComparisonResult) Unmarshal ¶
func (m *ComparisonResult) Unmarshal(dAtA []byte) error
type ComparisonStatus ¶
type ComparisonStatus string
ComparisonStatus is a type which represents possible comparison results
const ( ComparisonStatusUnknown ComparisonStatus = "Unknown" ComparisonStatusSynced ComparisonStatus = "Synced" ComparisonStatusOutOfSync ComparisonStatus = "OutOfSync" )
Possible comparison results
type ComponentParameter ¶
type ComponentParameter struct { Component string `json:"component,omitempty" protobuf:"bytes,1,opt,name=component"` Name string `json:"name" protobuf:"bytes,2,opt,name=name"` Value string `json:"value" protobuf:"bytes,3,opt,name=value"` }
ComponentParameter contains information about component parameter value
func (*ComponentParameter) DeepCopy ¶
func (in *ComponentParameter) DeepCopy() *ComponentParameter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentParameter.
func (*ComponentParameter) DeepCopyInto ¶
func (in *ComponentParameter) DeepCopyInto(out *ComponentParameter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentParameter) Descriptor ¶
func (*ComponentParameter) Descriptor() ([]byte, []int)
func (*ComponentParameter) Marshal ¶
func (m *ComponentParameter) Marshal() (dAtA []byte, err error)
func (*ComponentParameter) MarshalTo ¶
func (m *ComponentParameter) MarshalTo(dAtA []byte) (int, error)
func (*ComponentParameter) ProtoMessage ¶
func (*ComponentParameter) ProtoMessage()
func (*ComponentParameter) Reset ¶
func (m *ComponentParameter) Reset()
func (*ComponentParameter) Size ¶
func (m *ComponentParameter) Size() (n int)
func (*ComponentParameter) String ¶
func (this *ComponentParameter) String() string
func (*ComponentParameter) Unmarshal ¶
func (m *ComponentParameter) Unmarshal(dAtA []byte) error
type ConnectionState ¶ added in v0.5.0
type ConnectionState struct { Status ConnectionStatus `json:"status" protobuf:"bytes,1,opt,name=status"` Message string `json:"message" protobuf:"bytes,2,opt,name=message"` ModifiedAt *metav1.Time `json:"attemptedAt" protobuf:"bytes,3,opt,name=attemptedAt"` }
ConnectionState contains information about remote resource connection state
func (*ConnectionState) DeepCopy ¶ added in v0.5.0
func (in *ConnectionState) DeepCopy() *ConnectionState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionState.
func (*ConnectionState) DeepCopyInto ¶ added in v0.5.0
func (in *ConnectionState) DeepCopyInto(out *ConnectionState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectionState) Descriptor ¶ added in v0.5.0
func (*ConnectionState) Descriptor() ([]byte, []int)
func (*ConnectionState) Marshal ¶ added in v0.5.0
func (m *ConnectionState) Marshal() (dAtA []byte, err error)
func (*ConnectionState) MarshalTo ¶ added in v0.5.0
func (m *ConnectionState) MarshalTo(dAtA []byte) (int, error)
func (*ConnectionState) ProtoMessage ¶ added in v0.5.0
func (*ConnectionState) ProtoMessage()
func (*ConnectionState) Reset ¶ added in v0.5.0
func (m *ConnectionState) Reset()
func (*ConnectionState) Size ¶ added in v0.5.0
func (m *ConnectionState) Size() (n int)
func (*ConnectionState) String ¶ added in v0.5.0
func (this *ConnectionState) String() string
func (*ConnectionState) Unmarshal ¶ added in v0.5.0
func (m *ConnectionState) Unmarshal(dAtA []byte) error
type ConnectionStatus ¶ added in v0.5.0
type ConnectionStatus = string
ConnectionStatus represents connection status
type DeploymentInfo ¶
type DeploymentInfo struct { Params []ComponentParameter `json:"params" protobuf:"bytes,1,name=params"` Revision string `json:"revision" protobuf:"bytes,2,opt,name=revision"` ComponentParameterOverrides []ComponentParameter `json:"componentParameterOverrides,omitempty" protobuf:"bytes,3,opt,name=componentParameterOverrides"` DeployedAt metav1.Time `json:"deployedAt" protobuf:"bytes,4,opt,name=deployedAt"` ID int64 `json:"id" protobuf:"bytes,5,opt,name=id"` }
DeploymentInfo contains information relevant to an application deployment
func (*DeploymentInfo) DeepCopy ¶
func (in *DeploymentInfo) DeepCopy() *DeploymentInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentInfo.
func (*DeploymentInfo) DeepCopyInto ¶
func (in *DeploymentInfo) DeepCopyInto(out *DeploymentInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeploymentInfo) Descriptor ¶
func (*DeploymentInfo) Descriptor() ([]byte, []int)
func (*DeploymentInfo) Marshal ¶
func (m *DeploymentInfo) Marshal() (dAtA []byte, err error)
func (*DeploymentInfo) ProtoMessage ¶
func (*DeploymentInfo) ProtoMessage()
func (*DeploymentInfo) Reset ¶
func (m *DeploymentInfo) Reset()
func (*DeploymentInfo) Size ¶
func (m *DeploymentInfo) Size() (n int)
func (*DeploymentInfo) String ¶
func (this *DeploymentInfo) String() string
func (*DeploymentInfo) Unmarshal ¶
func (m *DeploymentInfo) Unmarshal(dAtA []byte) error
type HealthStatus ¶ added in v0.4.0
type HealthStatus struct { Status HealthStatusCode `json:"status,omitempty" protobuf:"bytes,1,opt,name=status"` StatusDetails string `json:"statusDetails,omitempty" protobuf:"bytes,2,opt,name=statusDetails"` }
func (*HealthStatus) DeepCopy ¶ added in v0.4.0
func (in *HealthStatus) DeepCopy() *HealthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthStatus.
func (*HealthStatus) DeepCopyInto ¶ added in v0.4.0
func (in *HealthStatus) DeepCopyInto(out *HealthStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HealthStatus) Descriptor ¶ added in v0.4.0
func (*HealthStatus) Descriptor() ([]byte, []int)
func (*HealthStatus) Marshal ¶ added in v0.4.0
func (m *HealthStatus) Marshal() (dAtA []byte, err error)
func (*HealthStatus) MarshalTo ¶ added in v0.4.0
func (m *HealthStatus) MarshalTo(dAtA []byte) (int, error)
func (*HealthStatus) ProtoMessage ¶ added in v0.4.0
func (*HealthStatus) ProtoMessage()
func (*HealthStatus) Reset ¶ added in v0.4.0
func (m *HealthStatus) Reset()
func (*HealthStatus) Size ¶ added in v0.4.0
func (m *HealthStatus) Size() (n int)
func (*HealthStatus) String ¶ added in v0.4.0
func (this *HealthStatus) String() string
func (*HealthStatus) Unmarshal ¶ added in v0.4.0
func (m *HealthStatus) Unmarshal(dAtA []byte) error
type HealthStatusCode ¶ added in v0.4.0
type HealthStatusCode = string
type HookDeletePolicy ¶ added in v0.6.0
type HookDeletePolicy string
const ( HookDeletePolicyHookSucceeded HookDeletePolicy = "HookSucceeded" HookDeletePolicyHookFailed HookDeletePolicy = "HookFailed" )
type HookStatus ¶ added in v0.6.0
type HookStatus struct { // Name is the resource name Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Kind is the resource kind Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"` // APIVersion is the resource API version APIVersion string `json:"apiVersion" protobuf:"bytes,3,opt,name=apiVersion"` // Type is the type of hook (e.g. PreSync, Sync, PostSync, Skip) Type HookType `json:"type" protobuf:"bytes,4,opt,name=type"` // Status a simple, high-level summary of where the resource is in its lifecycle Status OperationPhase `json:"status" protobuf:"bytes,5,opt,name=status"` // A human readable message indicating details about why the resource is in this condition. Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` }
HookStatus contains status about a hook invocation
func (*HookStatus) DeepCopy ¶ added in v0.6.0
func (in *HookStatus) DeepCopy() *HookStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookStatus.
func (*HookStatus) DeepCopyInto ¶ added in v0.6.0
func (in *HookStatus) DeepCopyInto(out *HookStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HookStatus) Descriptor ¶ added in v0.6.0
func (*HookStatus) Descriptor() ([]byte, []int)
func (*HookStatus) Marshal ¶ added in v0.6.0
func (m *HookStatus) Marshal() (dAtA []byte, err error)
func (*HookStatus) MarshalTo ¶ added in v0.6.0
func (m *HookStatus) MarshalTo(dAtA []byte) (int, error)
func (*HookStatus) ProtoMessage ¶ added in v0.6.0
func (*HookStatus) ProtoMessage()
func (*HookStatus) Reset ¶ added in v0.6.0
func (m *HookStatus) Reset()
func (*HookStatus) Size ¶ added in v0.6.0
func (m *HookStatus) Size() (n int)
func (*HookStatus) String ¶ added in v0.6.0
func (this *HookStatus) String() string
func (*HookStatus) Unmarshal ¶ added in v0.6.0
func (m *HookStatus) Unmarshal(dAtA []byte) error
type Operation ¶ added in v0.4.0
type Operation struct { Sync *SyncOperation `json:"sync,omitempty" protobuf:"bytes,1,opt,name=sync"` Rollback *RollbackOperation `json:"rollback,omitempty" protobuf:"bytes,2,opt,name=rollback"` }
Operation contains requested operation parameters.
func (*Operation) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operation.
func (*Operation) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Operation) Descriptor ¶ added in v0.4.0
func (*Operation) ProtoMessage ¶ added in v0.4.0
func (*Operation) ProtoMessage()
type OperationPhase ¶ added in v0.4.0
type OperationPhase string
const ( OperationRunning OperationPhase = "Running" OperationTerminating OperationPhase = "Terminating" OperationFailed OperationPhase = "Failed" OperationError OperationPhase = "Error" OperationSucceeded OperationPhase = "Succeeded" )
func (OperationPhase) Completed ¶ added in v0.4.0
func (os OperationPhase) Completed() bool
func (OperationPhase) Successful ¶ added in v0.4.0
func (os OperationPhase) Successful() bool
type OperationState ¶ added in v0.4.0
type OperationState struct { // Operation is the original requested operation Operation Operation `json:"operation" protobuf:"bytes,1,opt,name=operation"` // Phase is the current phase of the operation Phase OperationPhase `json:"phase" protobuf:"bytes,2,opt,name=phase"` // Message hold any pertinent messages when attempting to perform operation (typically errors). Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"` // SyncResult is the result of a Sync operation SyncResult *SyncOperationResult `json:"syncResult,omitempty" protobuf:"bytes,4,opt,name=syncResult"` // RollbackResult is the result of a Rollback operation RollbackResult *SyncOperationResult `json:"rollbackResult,omitempty" protobuf:"bytes,5,opt,name=rollbackResult"` // StartedAt contains time of operation start StartedAt metav1.Time `json:"startedAt" protobuf:"bytes,6,opt,name=startedAt"` // FinishedAt contains time of operation completion FinishedAt *metav1.Time `json:"finishedAt" protobuf:"bytes,7,opt,name=finishedAt"` }
OperationState contains information about state of currently performing operation on application.
func (*OperationState) DeepCopy ¶ added in v0.4.0
func (in *OperationState) DeepCopy() *OperationState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationState.
func (*OperationState) DeepCopyInto ¶ added in v0.4.0
func (in *OperationState) DeepCopyInto(out *OperationState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperationState) Descriptor ¶ added in v0.4.0
func (*OperationState) Descriptor() ([]byte, []int)
func (*OperationState) Marshal ¶ added in v0.4.0
func (m *OperationState) Marshal() (dAtA []byte, err error)
func (*OperationState) MarshalTo ¶ added in v0.4.0
func (m *OperationState) MarshalTo(dAtA []byte) (int, error)
func (*OperationState) ProtoMessage ¶ added in v0.4.0
func (*OperationState) ProtoMessage()
func (*OperationState) Reset ¶ added in v0.4.0
func (m *OperationState) Reset()
func (*OperationState) Size ¶ added in v0.4.0
func (m *OperationState) Size() (n int)
func (*OperationState) String ¶ added in v0.4.0
func (this *OperationState) String() string
func (*OperationState) Unmarshal ¶ added in v0.4.0
func (m *OperationState) Unmarshal(dAtA []byte) error
type Repository ¶
type Repository struct { Repo string `json:"repo" protobuf:"bytes,1,opt,name=repo"` Username string `json:"username,omitempty" protobuf:"bytes,2,opt,name=username"` Password string `json:"password,omitempty" protobuf:"bytes,3,opt,name=password"` SSHPrivateKey string `json:"sshPrivateKey,omitempty" protobuf:"bytes,4,opt,name=sshPrivateKey"` ConnectionState ConnectionState `json:"connectionState,omitempty" protobuf:"bytes,5,opt,name=connectionState"` }
Repository is a Git repository holding application configurations
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Repository) Descriptor ¶
func (*Repository) Descriptor() ([]byte, []int)
func (*Repository) Marshal ¶
func (m *Repository) Marshal() (dAtA []byte, err error)
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) Reset ¶
func (m *Repository) Reset()
func (*Repository) Size ¶
func (m *Repository) Size() (n int)
func (*Repository) String ¶
func (this *Repository) String() string
func (*Repository) Unmarshal ¶
func (m *Repository) Unmarshal(dAtA []byte) error
type RepositoryList ¶
type RepositoryList struct { metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Repository `json:"items" protobuf:"bytes,2,rep,name=items"` }
RepositoryList is a collection of Repositories.
func (*RepositoryList) DeepCopy ¶
func (in *RepositoryList) DeepCopy() *RepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList.
func (*RepositoryList) DeepCopyInto ¶
func (in *RepositoryList) DeepCopyInto(out *RepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryList) Descriptor ¶
func (*RepositoryList) Descriptor() ([]byte, []int)
func (*RepositoryList) Marshal ¶
func (m *RepositoryList) Marshal() (dAtA []byte, err error)
func (*RepositoryList) ProtoMessage ¶
func (*RepositoryList) ProtoMessage()
func (*RepositoryList) Reset ¶
func (m *RepositoryList) Reset()
func (*RepositoryList) Size ¶
func (m *RepositoryList) Size() (n int)
func (*RepositoryList) String ¶
func (this *RepositoryList) String() string
func (*RepositoryList) Unmarshal ¶
func (m *RepositoryList) Unmarshal(dAtA []byte) error
type ResourceDetails ¶ added in v0.4.0
type ResourceDetails struct { Name string `json:"name" protobuf:"bytes,1,opt,name=name"` Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"` Namespace string `json:"namespace" protobuf:"bytes,3,opt,name=namespace"` Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"` Status ResourceSyncStatus `json:"status,omitempty" protobuf:"bytes,5,opt,name=status"` }
func (*ResourceDetails) DeepCopy ¶ added in v0.4.0
func (in *ResourceDetails) DeepCopy() *ResourceDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDetails.
func (*ResourceDetails) DeepCopyInto ¶ added in v0.4.0
func (in *ResourceDetails) DeepCopyInto(out *ResourceDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceDetails) Descriptor ¶ added in v0.4.0
func (*ResourceDetails) Descriptor() ([]byte, []int)
func (*ResourceDetails) Marshal ¶ added in v0.4.0
func (m *ResourceDetails) Marshal() (dAtA []byte, err error)
func (*ResourceDetails) MarshalTo ¶ added in v0.4.0
func (m *ResourceDetails) MarshalTo(dAtA []byte) (int, error)
func (*ResourceDetails) ProtoMessage ¶ added in v0.4.0
func (*ResourceDetails) ProtoMessage()
func (*ResourceDetails) Reset ¶ added in v0.4.0
func (m *ResourceDetails) Reset()
func (*ResourceDetails) Size ¶ added in v0.4.0
func (m *ResourceDetails) Size() (n int)
func (*ResourceDetails) String ¶ added in v0.4.0
func (this *ResourceDetails) String() string
func (*ResourceDetails) Unmarshal ¶ added in v0.4.0
func (m *ResourceDetails) Unmarshal(dAtA []byte) error
type ResourceNode ¶ added in v0.3.0
type ResourceNode struct { State string `json:"state,omitempty" protobuf:"bytes,1,opt,name=state"` Children []ResourceNode `json:"children,omitempty" protobuf:"bytes,2,opt,name=children"` }
ResourceNode contains information about live resource and its children
func (*ResourceNode) DeepCopy ¶ added in v0.3.0
func (in *ResourceNode) DeepCopy() *ResourceNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceNode.
func (*ResourceNode) DeepCopyInto ¶ added in v0.3.0
func (in *ResourceNode) DeepCopyInto(out *ResourceNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceNode) Descriptor ¶ added in v0.3.0
func (*ResourceNode) Descriptor() ([]byte, []int)
func (*ResourceNode) Marshal ¶ added in v0.3.0
func (m *ResourceNode) Marshal() (dAtA []byte, err error)
func (*ResourceNode) MarshalTo ¶ added in v0.3.0
func (m *ResourceNode) MarshalTo(dAtA []byte) (int, error)
func (*ResourceNode) ProtoMessage ¶ added in v0.3.0
func (*ResourceNode) ProtoMessage()
func (*ResourceNode) Reset ¶ added in v0.3.0
func (m *ResourceNode) Reset()
func (*ResourceNode) Size ¶ added in v0.3.0
func (m *ResourceNode) Size() (n int)
func (*ResourceNode) String ¶ added in v0.3.0
func (this *ResourceNode) String() string
func (*ResourceNode) Unmarshal ¶ added in v0.3.0
func (m *ResourceNode) Unmarshal(dAtA []byte) error
type ResourceState ¶
type ResourceState struct { TargetState string `json:"targetState,omitempty" protobuf:"bytes,1,opt,name=targetState"` LiveState string `json:"liveState,omitempty" protobuf:"bytes,2,opt,name=liveState"` Status ComparisonStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` ChildLiveResources []ResourceNode `json:"childLiveResources,omitempty" protobuf:"bytes,4,opt,name=childLiveResources"` Health HealthStatus `json:"health,omitempty" protobuf:"bytes,5,opt,name=health"` }
ResourceState holds the target state of a resource and live state of a resource
func (*ResourceState) DeepCopy ¶
func (in *ResourceState) DeepCopy() *ResourceState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceState.
func (*ResourceState) DeepCopyInto ¶
func (in *ResourceState) DeepCopyInto(out *ResourceState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceState) Descriptor ¶
func (*ResourceState) Descriptor() ([]byte, []int)
func (ResourceState) LiveObject ¶ added in v0.4.0
func (r ResourceState) LiveObject() (*unstructured.Unstructured, error)
func (*ResourceState) Marshal ¶
func (m *ResourceState) Marshal() (dAtA []byte, err error)
func (*ResourceState) ProtoMessage ¶
func (*ResourceState) ProtoMessage()
func (*ResourceState) Reset ¶
func (m *ResourceState) Reset()
func (*ResourceState) Size ¶
func (m *ResourceState) Size() (n int)
func (*ResourceState) String ¶
func (this *ResourceState) String() string
func (ResourceState) TargetObject ¶ added in v0.4.0
func (r ResourceState) TargetObject() (*unstructured.Unstructured, error)
func (*ResourceState) Unmarshal ¶
func (m *ResourceState) Unmarshal(dAtA []byte) error
type ResourceSyncStatus ¶ added in v0.5.0
type ResourceSyncStatus string
const ( ResourceDetailsSynced ResourceSyncStatus = "Synced" ResourceDetailsSyncFailed ResourceSyncStatus = "SyncFailed" ResourceDetailsSyncedAndPruned ResourceSyncStatus = "SyncedAndPruned" ResourceDetailsPruningRequired ResourceSyncStatus = "PruningRequired" )
func (ResourceSyncStatus) Successful ¶ added in v0.6.0
func (s ResourceSyncStatus) Successful() bool
type RollbackOperation ¶ added in v0.4.0
type RollbackOperation struct { ID int64 `json:"id" protobuf:"bytes,1,opt,name=id"` Prune bool `json:"prune,omitempty" protobuf:"bytes,2,opt,name=prune"` DryRun bool `json:"dryRun,omitempty" protobuf:"bytes,3,opt,name=dryRun"` }
func (*RollbackOperation) DeepCopy ¶ added in v0.4.0
func (in *RollbackOperation) DeepCopy() *RollbackOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackOperation.
func (*RollbackOperation) DeepCopyInto ¶ added in v0.4.0
func (in *RollbackOperation) DeepCopyInto(out *RollbackOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RollbackOperation) Descriptor ¶ added in v0.4.0
func (*RollbackOperation) Descriptor() ([]byte, []int)
func (*RollbackOperation) Marshal ¶ added in v0.4.0
func (m *RollbackOperation) Marshal() (dAtA []byte, err error)
func (*RollbackOperation) MarshalTo ¶ added in v0.4.0
func (m *RollbackOperation) MarshalTo(dAtA []byte) (int, error)
func (*RollbackOperation) ProtoMessage ¶ added in v0.4.0
func (*RollbackOperation) ProtoMessage()
func (*RollbackOperation) Reset ¶ added in v0.4.0
func (m *RollbackOperation) Reset()
func (*RollbackOperation) Size ¶ added in v0.4.0
func (m *RollbackOperation) Size() (n int)
func (*RollbackOperation) String ¶ added in v0.4.0
func (this *RollbackOperation) String() string
func (*RollbackOperation) Unmarshal ¶ added in v0.4.0
func (m *RollbackOperation) Unmarshal(dAtA []byte) error
type SyncOperation ¶ added in v0.4.0
type SyncOperation struct { // Revision is the git revision in which to sync the application to Revision string `json:"revision,omitempty" protobuf:"bytes,1,opt,name=revision"` // Prune deletes resources that are no longer tracked in git Prune bool `json:"prune,omitempty" protobuf:"bytes,2,opt,name=prune"` // DryRun will perform a `kubectl apply --dry-run` without actually performing the sync DryRun bool `json:"dryRun,omitempty" protobuf:"bytes,3,opt,name=dryRun"` // SyncStrategy describes how to perform the sync SyncStrategy *SyncStrategy `json:"syncStrategy,omitempty" protobuf:"bytes,4,opt,name=syncStrategy"` }
SyncOperation contains sync operation details.
func (*SyncOperation) DeepCopy ¶ added in v0.4.0
func (in *SyncOperation) DeepCopy() *SyncOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOperation.
func (*SyncOperation) DeepCopyInto ¶ added in v0.4.0
func (in *SyncOperation) DeepCopyInto(out *SyncOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncOperation) Descriptor ¶ added in v0.4.0
func (*SyncOperation) Descriptor() ([]byte, []int)
func (*SyncOperation) Marshal ¶ added in v0.4.0
func (m *SyncOperation) Marshal() (dAtA []byte, err error)
func (*SyncOperation) MarshalTo ¶ added in v0.4.0
func (m *SyncOperation) MarshalTo(dAtA []byte) (int, error)
func (*SyncOperation) ProtoMessage ¶ added in v0.4.0
func (*SyncOperation) ProtoMessage()
func (*SyncOperation) Reset ¶ added in v0.4.0
func (m *SyncOperation) Reset()
func (*SyncOperation) Size ¶ added in v0.4.0
func (m *SyncOperation) Size() (n int)
func (*SyncOperation) String ¶ added in v0.4.0
func (this *SyncOperation) String() string
func (*SyncOperation) Unmarshal ¶ added in v0.4.0
func (m *SyncOperation) Unmarshal(dAtA []byte) error
type SyncOperationResult ¶ added in v0.4.0
type SyncOperationResult struct { // Resources holds the sync result of each individual resource Resources []*ResourceDetails `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"` // Revision holds the git commit SHA of the sync Revision string `json:"revision" protobuf:"bytes,2,opt,name=revision"` // Hooks contains list of hook resource statuses associated with this operation Hooks []*HookStatus `json:"hooks,omitempty" protobuf:"bytes,3,opt,name=hooks"` }
SyncOperationResult represent result of sync operation
func (*SyncOperationResult) DeepCopy ¶ added in v0.4.0
func (in *SyncOperationResult) DeepCopy() *SyncOperationResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOperationResult.
func (*SyncOperationResult) DeepCopyInto ¶ added in v0.4.0
func (in *SyncOperationResult) DeepCopyInto(out *SyncOperationResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncOperationResult) Descriptor ¶ added in v0.4.0
func (*SyncOperationResult) Descriptor() ([]byte, []int)
func (*SyncOperationResult) Marshal ¶ added in v0.4.0
func (m *SyncOperationResult) Marshal() (dAtA []byte, err error)
func (*SyncOperationResult) MarshalTo ¶ added in v0.4.0
func (m *SyncOperationResult) MarshalTo(dAtA []byte) (int, error)
func (*SyncOperationResult) ProtoMessage ¶ added in v0.4.0
func (*SyncOperationResult) ProtoMessage()
func (*SyncOperationResult) Reset ¶ added in v0.4.0
func (m *SyncOperationResult) Reset()
func (*SyncOperationResult) Size ¶ added in v0.4.0
func (m *SyncOperationResult) Size() (n int)
func (*SyncOperationResult) String ¶ added in v0.4.0
func (this *SyncOperationResult) String() string
func (*SyncOperationResult) Unmarshal ¶ added in v0.4.0
func (m *SyncOperationResult) Unmarshal(dAtA []byte) error
type SyncStrategy ¶ added in v0.6.0
type SyncStrategy struct { // Apply wil perform a `kubectl apply` to perform the sync. This is the default strategy Apply *SyncStrategyApply `json:"apply,omitempty" protobuf:"bytes,1,opt,name=apply"` // Hook will submit any referenced resources to perform the sync Hook *SyncStrategyHook `json:"hook,omitempty" protobuf:"bytes,2,opt,name=hook"` }
SyncStrategy indicates the
func (*SyncStrategy) DeepCopy ¶ added in v0.6.0
func (in *SyncStrategy) DeepCopy() *SyncStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStrategy.
func (*SyncStrategy) DeepCopyInto ¶ added in v0.6.0
func (in *SyncStrategy) DeepCopyInto(out *SyncStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncStrategy) Descriptor ¶ added in v0.6.0
func (*SyncStrategy) Descriptor() ([]byte, []int)
func (*SyncStrategy) Marshal ¶ added in v0.6.0
func (m *SyncStrategy) Marshal() (dAtA []byte, err error)
func (*SyncStrategy) MarshalTo ¶ added in v0.6.0
func (m *SyncStrategy) MarshalTo(dAtA []byte) (int, error)
func (*SyncStrategy) ProtoMessage ¶ added in v0.6.0
func (*SyncStrategy) ProtoMessage()
func (*SyncStrategy) Reset ¶ added in v0.6.0
func (m *SyncStrategy) Reset()
func (*SyncStrategy) Size ¶ added in v0.6.0
func (m *SyncStrategy) Size() (n int)
func (*SyncStrategy) String ¶ added in v0.6.0
func (this *SyncStrategy) String() string
func (*SyncStrategy) Unmarshal ¶ added in v0.6.0
func (m *SyncStrategy) Unmarshal(dAtA []byte) error
type SyncStrategyApply ¶ added in v0.6.0
type SyncStrategyApply struct { // Force indicates whether or not to supply the --force flag to `kubectl apply`. // The --force flag deletes and re-create the resource, when PATCH encounters conflict and has // retried for 5 times. Force bool `json:"force,omitempty" protobuf:"bytes,1,opt,name=force"` }
SyncStrategyApply uses `kubectl apply` to perform the apply
func (*SyncStrategyApply) DeepCopy ¶ added in v0.6.0
func (in *SyncStrategyApply) DeepCopy() *SyncStrategyApply
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStrategyApply.
func (*SyncStrategyApply) DeepCopyInto ¶ added in v0.6.0
func (in *SyncStrategyApply) DeepCopyInto(out *SyncStrategyApply)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncStrategyApply) Descriptor ¶ added in v0.6.0
func (*SyncStrategyApply) Descriptor() ([]byte, []int)
func (*SyncStrategyApply) Marshal ¶ added in v0.6.0
func (m *SyncStrategyApply) Marshal() (dAtA []byte, err error)
func (*SyncStrategyApply) MarshalTo ¶ added in v0.6.0
func (m *SyncStrategyApply) MarshalTo(dAtA []byte) (int, error)
func (*SyncStrategyApply) ProtoMessage ¶ added in v0.6.0
func (*SyncStrategyApply) ProtoMessage()
func (*SyncStrategyApply) Reset ¶ added in v0.6.0
func (m *SyncStrategyApply) Reset()
func (*SyncStrategyApply) Size ¶ added in v0.6.0
func (m *SyncStrategyApply) Size() (n int)
func (*SyncStrategyApply) String ¶ added in v0.6.0
func (this *SyncStrategyApply) String() string
func (*SyncStrategyApply) Unmarshal ¶ added in v0.6.0
func (m *SyncStrategyApply) Unmarshal(dAtA []byte) error
type SyncStrategyHook ¶ added in v0.6.0
type SyncStrategyHook struct { // Embed SyncStrategyApply type to inherit any `apply` options SyncStrategyApply `protobuf:"bytes,1,opt,name=syncStrategyApply"` }
SyncStrategyHook will perform a sync using hooks annotations. If no hook annotation is specified falls back to `kubectl apply`.
func (*SyncStrategyHook) DeepCopy ¶ added in v0.6.0
func (in *SyncStrategyHook) DeepCopy() *SyncStrategyHook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStrategyHook.
func (*SyncStrategyHook) DeepCopyInto ¶ added in v0.6.0
func (in *SyncStrategyHook) DeepCopyInto(out *SyncStrategyHook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncStrategyHook) Descriptor ¶ added in v0.6.0
func (*SyncStrategyHook) Descriptor() ([]byte, []int)
func (*SyncStrategyHook) Marshal ¶ added in v0.6.0
func (m *SyncStrategyHook) Marshal() (dAtA []byte, err error)
func (*SyncStrategyHook) MarshalTo ¶ added in v0.6.0
func (m *SyncStrategyHook) MarshalTo(dAtA []byte) (int, error)
func (*SyncStrategyHook) ProtoMessage ¶ added in v0.6.0
func (*SyncStrategyHook) ProtoMessage()
func (*SyncStrategyHook) Reset ¶ added in v0.6.0
func (m *SyncStrategyHook) Reset()
func (*SyncStrategyHook) Size ¶ added in v0.6.0
func (m *SyncStrategyHook) Size() (n int)
func (*SyncStrategyHook) String ¶ added in v0.6.0
func (this *SyncStrategyHook) String() string
func (*SyncStrategyHook) Unmarshal ¶ added in v0.6.0
func (m *SyncStrategyHook) Unmarshal(dAtA []byte) error
type TLSClientConfig ¶
type TLSClientConfig struct { // Server should be accessed without verifying the TLS certificate. For testing only. Insecure bool `json:"insecure" protobuf:"bytes,1,opt,name=insecure"` // ServerName is passed to the server for SNI and is used in the client to check server // ceritificates against. If ServerName is empty, the hostname used to contact the // server is used. ServerName string `json:"serverName,omitempty" protobuf:"bytes,2,opt,name=serverName"` // CertData holds PEM-encoded bytes (typically read from a client certificate file). // CertData takes precedence over CertFile CertData []byte `json:"certData,omitempty" protobuf:"bytes,3,opt,name=certData"` // KeyData holds PEM-encoded bytes (typically read from a client certificate key file). // KeyData takes precedence over KeyFile KeyData []byte `json:"keyData,omitempty" protobuf:"bytes,4,opt,name=keyData"` // CAData holds PEM-encoded bytes (typically read from a root certificates bundle). // CAData takes precedence over CAFile CAData []byte `json:"caData,omitempty" protobuf:"bytes,5,opt,name=caData"` }
TLSClientConfig contains settings to enable transport layer security
func (*TLSClientConfig) DeepCopy ¶
func (in *TLSClientConfig) DeepCopy() *TLSClientConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig.
func (*TLSClientConfig) DeepCopyInto ¶
func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TLSClientConfig) Descriptor ¶
func (*TLSClientConfig) Descriptor() ([]byte, []int)
func (*TLSClientConfig) Marshal ¶
func (m *TLSClientConfig) Marshal() (dAtA []byte, err error)
func (*TLSClientConfig) ProtoMessage ¶
func (*TLSClientConfig) ProtoMessage()
func (*TLSClientConfig) Reset ¶
func (m *TLSClientConfig) Reset()
func (*TLSClientConfig) Size ¶
func (m *TLSClientConfig) Size() (n int)
func (*TLSClientConfig) String ¶
func (this *TLSClientConfig) String() string
func (*TLSClientConfig) Unmarshal ¶
func (m *TLSClientConfig) Unmarshal(dAtA []byte) error