v1alpha1

package
v2.5.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 48 Imported by: 220

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=argoproj.io +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true

Index

Constants

View Source
const (
	// AnnotationKeyRefresh is the annotation key which indicates that app needs to be refreshed. Removed by application controller after app is refreshed.
	// Might take values 'normal'/'hard'. Value 'hard' means manifest cache and target cluster state cache should be invalidated before refresh.
	AnnotationKeyRefresh string = "argocd.argoproj.io/refresh"

	// AnnotationKeyManifestGeneratePaths is an annotation that contains a list of semicolon-separated paths in the
	// manifests repository that affects the manifest generation. Paths might be either relative or absolute. The
	// absolute path means an absolute path within the repository and the relative path is relative to the application
	// source path within the repository.
	AnnotationKeyManifestGeneratePaths = "argocd.argoproj.io/manifest-generate-paths"
)
View Source
const (
	DefaultSyncRetryMaxDuration time.Duration = 180000000000 // 3m0s
	DefaultSyncRetryDuration    time.Duration = 5000000000   // 5s
	DefaultSyncRetryFactor                    = int64(2)
	// ResourcesFinalizerName is the finalizer value which we inject to finalize deletion of an application
	ResourcesFinalizerName string = "resources-finalizer.argocd.argoproj.io"

	// ForegroundPropagationPolicyFinalizer is the finalizer we inject to delete application with foreground propagation policy
	ForegroundPropagationPolicyFinalizer string = "resources-finalizer.argocd.argoproj.io/foreground"

	// BackgroundPropagationPolicyFinalizer is the finalizer we inject to delete application with background propagation policy
	BackgroundPropagationPolicyFinalizer = "resources-finalizer.argocd.argoproj.io/background"

	// DefaultAppProjectName contains name of 'default' app project, which is available in every Argo CD installation
	DefaultAppProjectName = "default"

	// RevisionHistoryLimit is the max number of successful sync to keep in history
	RevisionHistoryLimit = 10

	// KubernetesInternalAPIServerAddr is address of the k8s API server when accessing internal to the cluster
	KubernetesInternalAPIServerAddr = "https://kubernetes.default.svc"
)
View Source
const (
	ApplicationSetReasonErrorOccurred                    = "ErrorOccurred"
	ApplicationSetReasonApplicationSetUpToDate           = "ApplicationSetUpToDate"
	ApplicationSetReasonParametersGenerated              = "ParametersGenerated"
	ApplicationSetReasonApplicationGenerated             = "ApplicationGeneratedSuccessfully"
	ApplicationSetReasonUpdateApplicationError           = "UpdateApplicationError"
	ApplicationSetReasonApplicationParamsGenerationError = "ApplicationGenerationFromParamsError"
	ApplicationSetReasonRenderTemplateParamsError        = "RenderTemplateParamsError"
	ApplicationSetReasonCreateApplicationError           = "CreateApplicationError"
	ApplicationSetReasonDeleteApplicationError           = "DeleteApplicationError"
	ApplicationSetReasonRefreshApplicationError          = "RefreshApplicationError"
	ApplicationSetReasonApplicationValidationError       = "ApplicationValidationError"
)
View Source
const (

	// EnvVarFakeInClusterConfig is an environment variable to fake an in-cluster RESTConfig using
	// the current kubectl context (for development purposes)
	EnvVarFakeInClusterConfig = "ARGOCD_FAKE_IN_CLUSTER"

	// EnvK8sClientQPS is the QPS value used for the kubernetes client (default: 50)
	EnvK8sClientQPS = "ARGOCD_K8S_CLIENT_QPS"

	// EnvK8sClientBurst is the burst value used for the kubernetes client (default: twice the client QPS)
	EnvK8sClientBurst = "ARGOCD_K8S_CLIENT_BURST"

	// EnvK8sClientMaxIdleConnections is the number of max idle connections in K8s REST client HTTP transport (default: 500)
	EnvK8sClientMaxIdleConnections = "ARGOCD_K8S_CLIENT_MAX_IDLE_CONNECTIONS"

	// EnvK8sTCPTimeout is the duration for TCP timeouts when communicating with K8s API servers
	EnvK8sTCPTimeout = "ARGOCD_K8S_TCP_TIMEOUT"

	// EnvK8sTCPKeepalive is the interval for TCP keep alive probes to be sent when communicating with K8s API servers
	EnvK8sTCPKeepAlive = "ARGOCD_K8S_TCP_KEEPALIVE"

	// EnvK8sTLSHandshakeTimeout is the duration for TLS handshake timeouts when establishing connections to K8s API servers
	EnvK8sTLSHandshakeTimeout = "ARGOCD_K8S_TLS_HANDSHAKE_TIMEOUT"

	// EnvK8sTCPIdleConnTimeout is the duration when idle TCP connection to the K8s API servers should timeout
	EnvK8sTCPIdleConnTimeout = "ARGOCD_K8S_TCP_IDLE_TIMEOUT"
)
View Source
const (
	// ApplicationConditionDeletionError indicates that controller failed to delete application
	ApplicationConditionDeletionError = "DeletionError"
	// ApplicationConditionInvalidSpecError indicates that application source is invalid
	ApplicationConditionInvalidSpecError = "InvalidSpecError"
	// ApplicationConditionComparisonError indicates controller failed to compare application state
	ApplicationConditionComparisonError = "ComparisonError"
	// ApplicationConditionSyncError indicates controller failed to automatically sync the application
	ApplicationConditionSyncError = "SyncError"
	// ApplicationConditionUnknownError indicates an unknown controller error
	ApplicationConditionUnknownError = "UnknownError"
	// ApplicationConditionSharedResourceWarning indicates that controller detected resources which belongs to more than one application
	ApplicationConditionSharedResourceWarning = "SharedResourceWarning"
	// ApplicationConditionRepeatedResourceWarning indicates that application source has resource with same Group, Kind, Name, Namespace multiple times
	ApplicationConditionRepeatedResourceWarning = "RepeatedResourceWarning"
	// ApplicationConditionExcludedResourceWarning indicates that application has resource which is configured to be excluded
	ApplicationConditionExcludedResourceWarning = "ExcludedResourceWarning"
	// ApplicationConditionOrphanedResourceWarning indicates that application has orphaned resources
	ApplicationConditionOrphanedResourceWarning = "OrphanedResourceWarning"
)
View Source
const (
	// ConnectionStatusSuccessful indicates that a connection has been successfully established
	ConnectionStatusSuccessful = "Successful"
	// ConnectionStatusFailed indicates that a connection attempt has failed
	ConnectionStatusFailed = "Failed"
	// ConnectionStatusUnknown indicates that the connection status could not be reliably determined
	ConnectionStatusUnknown = "Unknown"
)

Variables

View Source
var (

	// K8sClientConfigQPS controls the QPS to be used in K8s REST client configs
	K8sClientConfigQPS float32 = env.ParseFloatFromEnv(EnvK8sClientQPS, 50, 0, math.MaxFloat32)

	// K8sClientConfigBurst controls the burst to be used in K8s REST client configs
	K8sClientConfigBurst int = env.ParseNumFromEnv(EnvK8sClientBurst, int(2*K8sClientConfigQPS), 0, math.MaxInt32)

	// K8sMaxIdleConnections controls the number of max idle connections in K8s REST client HTTP transport
	K8sMaxIdleConnections = env.ParseNumFromEnv(EnvK8sClientMaxIdleConnections, 500, 0, math.MaxInt32)

	// K8sTLSHandshakeTimeout defines the maximum duration to wait for a TLS handshake to complete
	K8sTLSHandshakeTimeout = env.ParseDurationFromEnv(EnvK8sTLSHandshakeTimeout, 10*time.Second, 0, math.MaxInt32*time.Second)

	// K8sTCPTimeout defines the TCP timeout to use when performing K8s API requests
	K8sTCPTimeout = env.ParseDurationFromEnv(EnvK8sTCPTimeout, 30*time.Second, 0, math.MaxInt32*time.Second)

	// K8sTCPKeepAlive defines the interval for sending TCP keep alive to K8s API server
	K8sTCPKeepAlive = env.ParseDurationFromEnv(EnvK8sTCPKeepAlive, 30*time.Second, 0, math.MaxInt32*time.Second)

	// K8sTCPIdleConnTimeout defines the duration for keeping idle TCP connections to the K8s API server
	K8sTCPIdleConnTimeout = env.ParseDurationFromEnv(EnvK8sTCPIdleConnTimeout, 5*time.Minute, 0, math.MaxInt32*time.Second)

	// K8sServerSideTimeout defines which server side timeout to send with each API request
	K8sServerSideTimeout = env.ParseDurationFromEnv(EnvK8sTCPTimeout, 0, 0, math.MaxInt32*time.Second)
)

Configuration variables associated with the Cluster API

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
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}
	ApplicationSetSchemaGroupVersionKind = schema.GroupVersionKind{Group: application.Group, Version: "v1alpha1", Kind: application.ApplicationSetKind}
)
View Source
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 SetK8SConfigDefaults

func SetK8SConfigDefaults(config *rest.Config) error

SetK8SConfigDefaults sets Kubernetes REST config default settings

func UnmarshalToUnstructured

func UnmarshalToUnstructured(resource string) (*unstructured.Unstructured, error)

UnmarshalToUnstructured unmarshals a resource representation in JSON to unstructured data

Types

type AWSAuthConfig

type AWSAuthConfig struct {
	// ClusterName contains AWS cluster name
	ClusterName string `json:"clusterName,omitempty" protobuf:"bytes,1,opt,name=clusterName"`

	// RoleARN contains optional role ARN. If set then AWS IAM Authenticator assume a role to perform cluster operations instead of the default AWS credential provider chain.
	RoleARN string `json:"roleARN,omitempty" protobuf:"bytes,2,opt,name=roleARN"`
}

AWSAuthConfig is an AWS IAM authentication configuration

func (*AWSAuthConfig) DeepCopy

func (in *AWSAuthConfig) DeepCopy() *AWSAuthConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAuthConfig.

func (*AWSAuthConfig) DeepCopyInto

func (in *AWSAuthConfig) DeepCopyInto(out *AWSAuthConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSAuthConfig) Descriptor

func (*AWSAuthConfig) Descriptor() ([]byte, []int)

func (*AWSAuthConfig) Marshal

func (m *AWSAuthConfig) Marshal() (dAtA []byte, err error)

func (*AWSAuthConfig) MarshalTo

func (m *AWSAuthConfig) MarshalTo(dAtA []byte) (int, error)

func (*AWSAuthConfig) MarshalToSizedBuffer

func (m *AWSAuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSAuthConfig) ProtoMessage

func (*AWSAuthConfig) ProtoMessage()

func (*AWSAuthConfig) Reset

func (m *AWSAuthConfig) Reset()

func (*AWSAuthConfig) Size

func (m *AWSAuthConfig) Size() (n int)

func (*AWSAuthConfig) String

func (this *AWSAuthConfig) String() string

func (*AWSAuthConfig) Unmarshal

func (m *AWSAuthConfig) Unmarshal(dAtA []byte) error

func (*AWSAuthConfig) XXX_DiscardUnknown

func (m *AWSAuthConfig) XXX_DiscardUnknown()

func (*AWSAuthConfig) XXX_Marshal

func (m *AWSAuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSAuthConfig) XXX_Merge

func (m *AWSAuthConfig) XXX_Merge(src proto.Message)

func (*AWSAuthConfig) XXX_Size

func (m *AWSAuthConfig) XXX_Size() int

func (*AWSAuthConfig) XXX_Unmarshal

func (m *AWSAuthConfig) XXX_Unmarshal(b []byte) error

type AppProject

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"`
	Status            AppProjectStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

AppProject provides a logical grouping of applications, providing controls for: * where the apps may deploy to (cluster whitelist) * what may be deployed (repository whitelist, resource whitelist/blacklist) * who can access these applications (roles, OIDC group claims bindings) * and what they can do (RBAC policies) * automation access to these roles (JWT tokens) +genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:path=appprojects,shortName=appproj;appprojs

func (*AppProject) AddGroupToRole

func (p *AppProject) AddGroupToRole(roleName, group string) (bool, error)

AddGroupToRole adds an OIDC group to a role

func (*AppProject) DeepCopy

func (in *AppProject) DeepCopy() *AppProject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppProject.

func (*AppProject) DeepCopyInto

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

func (in *AppProject) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AppProject) Descriptor

func (*AppProject) Descriptor() ([]byte, []int)

func (*AppProject) GetJWTToken

func (p *AppProject) GetJWTToken(roleName string, issuedAt int64, id string) (*JWTToken, int, error)

GetJWTToken looks up the index of a JWTToken in a project by id (new token), if not then by the issue at time (old token)

func (*AppProject) GetJWTTokenFromSpec

func (p *AppProject) GetJWTTokenFromSpec(roleName string, issuedAt int64, id string) (*JWTToken, int, error)

GetJWTTokenFromSpec looks up the index of a JWTToken in a project by id (new token), if not then by the issue at time (old token)

func (*AppProject) GetRoleByName

func (p *AppProject) GetRoleByName(name string) (*ProjectRole, int, error)

GetRoleByName returns the role in a project by the name with its index

func (AppProject) HasFinalizer

func (proj AppProject) HasFinalizer() bool

HasFinalizer returns true if a resource finalizer is set on an AppProject

func (AppProject) IsAppNamespacePermitted added in v2.5.0

func (p AppProject) IsAppNamespacePermitted(app *Application, controllerNs string) bool

IsAppNamespacePermitted checks whether an application that associates with this AppProject is allowed by comparing the Application's namespace with the list of allowed namespaces in the AppProject.

Applications in the installation namespace are always permitted. Also, at application creation time, its namespace may yet be empty to indicate that the application will be created in the controller's namespace.

func (AppProject) IsDestinationPermitted

func (proj AppProject) IsDestinationPermitted(dst ApplicationDestination, projectClusters func(project string) ([]*Cluster, error)) (bool, error)

IsDestinationPermitted validates if the provided application's destination is one of the allowed destinations for the project

func (AppProject) IsGroupKindPermitted

func (proj AppProject) IsGroupKindPermitted(gk schema.GroupKind, namespaced bool) bool

IsGroupKindPermitted validates if the given resource group/kind is permitted to be deployed in the project

func (AppProject) IsLiveResourcePermitted

func (proj AppProject) IsLiveResourcePermitted(un *unstructured.Unstructured, server string, name string, projectClusters func(project string) ([]*Cluster, error)) (bool, error)

IsLiveResourcePermitted returns whether a live resource found in the cluster is permitted by an AppProject

func (AppProject) IsResourcePermitted added in v2.1.13

func (proj AppProject) IsResourcePermitted(groupKind schema.GroupKind, namespace string, dest ApplicationDestination, projectClusters func(project string) ([]*Cluster, error)) (bool, error)

func (AppProject) IsSourcePermitted

func (proj AppProject) IsSourcePermitted(src ApplicationSource) bool

IsSourcePermitted validates if the provided application's source is a one of the allowed sources for the project.

func (*AppProject) Marshal

func (m *AppProject) Marshal() (dAtA []byte, err error)

func (*AppProject) MarshalTo

func (m *AppProject) MarshalTo(dAtA []byte) (int, error)

func (*AppProject) MarshalToSizedBuffer

func (m *AppProject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppProject) NormalizeJWTTokens

func (proj *AppProject) NormalizeJWTTokens() bool

TODO: document this method

func (*AppProject) NormalizePolicies

func (p *AppProject) NormalizePolicies()

NormalizePolicies normalizes the policies in the project

func (*AppProject) ProjectPoliciesString

func (proj *AppProject) ProjectPoliciesString() string

ProjectPoliciesString returns a Casbin formatted string of a project's policies for each role

func (*AppProject) ProtoMessage

func (*AppProject) ProtoMessage()

func (*AppProject) RemoveFinalizer

func (proj *AppProject) RemoveFinalizer()

RemoveFinalizer removes a resource finalizer from an AppProject

func (*AppProject) RemoveGroupFromRole

func (p *AppProject) RemoveGroupFromRole(roleName, group string) (bool, error)

RemoveGroupFromRole removes an OIDC group from a role

func (AppProject) RemoveJWTToken

func (p AppProject) RemoveJWTToken(roleIndex int, issuedAt int64, id string) error

RemoveJWTToken removes the specified JWT from an AppProject

func (*AppProject) Reset

func (m *AppProject) Reset()

func (*AppProject) Size

func (m *AppProject) Size() (n int)

func (*AppProject) String

func (this *AppProject) String() string

func (*AppProject) Unmarshal

func (m *AppProject) Unmarshal(dAtA []byte) error

func (*AppProject) ValidateJWTTokenID

func (p *AppProject) ValidateJWTTokenID(roleName string, id string) error

TODO: document this method

func (*AppProject) ValidateProject

func (p *AppProject) ValidateProject() error

func (*AppProject) XXX_DiscardUnknown

func (m *AppProject) XXX_DiscardUnknown()

func (*AppProject) XXX_Marshal

func (m *AppProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppProject) XXX_Merge

func (m *AppProject) XXX_Merge(src proto.Message)

func (*AppProject) XXX_Size

func (m *AppProject) XXX_Size() int

func (*AppProject) XXX_Unmarshal

func (m *AppProject) XXX_Unmarshal(b []byte) error

type AppProjectList

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

func (in *AppProjectList) DeepCopy() *AppProjectList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppProjectList.

func (*AppProjectList) DeepCopyInto

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

func (in *AppProjectList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AppProjectList) Descriptor

func (*AppProjectList) Descriptor() ([]byte, []int)

func (*AppProjectList) Marshal

func (m *AppProjectList) Marshal() (dAtA []byte, err error)

func (*AppProjectList) MarshalTo

func (m *AppProjectList) MarshalTo(dAtA []byte) (int, error)

func (*AppProjectList) MarshalToSizedBuffer

func (m *AppProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppProjectList) ProtoMessage

func (*AppProjectList) ProtoMessage()

func (*AppProjectList) Reset

func (m *AppProjectList) Reset()

func (*AppProjectList) Size

func (m *AppProjectList) Size() (n int)

func (*AppProjectList) String

func (this *AppProjectList) String() string

func (*AppProjectList) Unmarshal

func (m *AppProjectList) Unmarshal(dAtA []byte) error

func (*AppProjectList) XXX_DiscardUnknown

func (m *AppProjectList) XXX_DiscardUnknown()

func (*AppProjectList) XXX_Marshal

func (m *AppProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppProjectList) XXX_Merge

func (m *AppProjectList) XXX_Merge(src proto.Message)

func (*AppProjectList) XXX_Size

func (m *AppProjectList) XXX_Size() int

func (*AppProjectList) XXX_Unmarshal

func (m *AppProjectList) XXX_Unmarshal(b []byte) error

type AppProjectSpec

type AppProjectSpec struct {
	// SourceRepos contains list of repository URLs which can be used for deployment
	SourceRepos []string `json:"sourceRepos,omitempty" protobuf:"bytes,1,name=sourceRepos"`
	// Destinations contains list of destinations available for deployment
	Destinations []ApplicationDestination `json:"destinations,omitempty" protobuf:"bytes,2,name=destination"`
	// Description contains optional project description
	Description string `json:"description,omitempty" protobuf:"bytes,3,opt,name=description"`
	// Roles are user defined RBAC roles associated with this project
	Roles []ProjectRole `json:"roles,omitempty" protobuf:"bytes,4,rep,name=roles"`
	// ClusterResourceWhitelist contains list of whitelisted cluster level resources
	ClusterResourceWhitelist []metav1.GroupKind `json:"clusterResourceWhitelist,omitempty" protobuf:"bytes,5,opt,name=clusterResourceWhitelist"`
	// NamespaceResourceBlacklist contains list of blacklisted namespace level resources
	NamespaceResourceBlacklist []metav1.GroupKind `json:"namespaceResourceBlacklist,omitempty" protobuf:"bytes,6,opt,name=namespaceResourceBlacklist"`
	// OrphanedResources specifies if controller should monitor orphaned resources of apps in this project
	OrphanedResources *OrphanedResourcesMonitorSettings `json:"orphanedResources,omitempty" protobuf:"bytes,7,opt,name=orphanedResources"`
	// SyncWindows controls when syncs can be run for apps in this project
	SyncWindows SyncWindows `json:"syncWindows,omitempty" protobuf:"bytes,8,opt,name=syncWindows"`
	// NamespaceResourceWhitelist contains list of whitelisted namespace level resources
	NamespaceResourceWhitelist []metav1.GroupKind `json:"namespaceResourceWhitelist,omitempty" protobuf:"bytes,9,opt,name=namespaceResourceWhitelist"`
	// SignatureKeys contains a list of PGP key IDs that commits in Git must be signed with in order to be allowed for sync
	SignatureKeys []SignatureKey `json:"signatureKeys,omitempty" protobuf:"bytes,10,opt,name=signatureKeys"`
	// ClusterResourceBlacklist contains list of blacklisted cluster level resources
	ClusterResourceBlacklist []metav1.GroupKind `json:"clusterResourceBlacklist,omitempty" protobuf:"bytes,11,opt,name=clusterResourceBlacklist"`
	// SourceNamespaces defines the namespaces application resources are allowed to be created in
	SourceNamespaces []string `json:"sourceNamespaces,omitempty" protobuf:"bytes,12,opt,name=sourceNamespaces"`
	// PermitOnlyProjectScopedClusters determines whether destinations can only reference clusters which are project-scoped
	PermitOnlyProjectScopedClusters bool `json:"permitOnlyProjectScopedClusters,omitempty" protobuf:"bytes,13,opt,name=permitOnlyProjectScopedClusters"`
}

AppProjectSpec is the specification of an AppProject

func (*AppProjectSpec) AddWindow

func (s *AppProjectSpec) AddWindow(knd string, sch string, dur string, app []string, ns []string, cl []string, ms bool, timeZone string) error

AddWindow adds a sync window with the given parameters to the AppProject

func (*AppProjectSpec) DeepCopy

func (in *AppProjectSpec) DeepCopy() *AppProjectSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppProjectSpec.

func (*AppProjectSpec) DeepCopyInto

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) DeleteWindow

func (s *AppProjectSpec) DeleteWindow(id int) error

DeleteWindow deletes a sync window with the given id from the AppProject

func (*AppProjectSpec) Descriptor

func (*AppProjectSpec) Descriptor() ([]byte, []int)

func (AppProjectSpec) DestinationClusters

func (d AppProjectSpec) DestinationClusters() []string

DestinationClusters returns a list of cluster URLs allowed as destination in an AppProject

func (*AppProjectSpec) Marshal

func (m *AppProjectSpec) Marshal() (dAtA []byte, err error)

func (*AppProjectSpec) MarshalTo

func (m *AppProjectSpec) MarshalTo(dAtA []byte) (int, error)

func (*AppProjectSpec) MarshalToSizedBuffer

func (m *AppProjectSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppProjectSpec) ProtoMessage

func (*AppProjectSpec) ProtoMessage()

func (*AppProjectSpec) Reset

func (m *AppProjectSpec) Reset()

func (*AppProjectSpec) Size

func (m *AppProjectSpec) Size() (n int)

func (*AppProjectSpec) String

func (this *AppProjectSpec) String() string

func (*AppProjectSpec) Unmarshal

func (m *AppProjectSpec) Unmarshal(dAtA []byte) error

func (*AppProjectSpec) XXX_DiscardUnknown

func (m *AppProjectSpec) XXX_DiscardUnknown()

func (*AppProjectSpec) XXX_Marshal

func (m *AppProjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppProjectSpec) XXX_Merge

func (m *AppProjectSpec) XXX_Merge(src proto.Message)

func (*AppProjectSpec) XXX_Size

func (m *AppProjectSpec) XXX_Size() int

func (*AppProjectSpec) XXX_Unmarshal

func (m *AppProjectSpec) XXX_Unmarshal(b []byte) error

type AppProjectStatus

type AppProjectStatus struct {
	// JWTTokensByRole contains a list of JWT tokens issued for a given role
	JWTTokensByRole map[string]JWTTokens `json:"jwtTokensByRole,omitempty" protobuf:"bytes,1,opt,name=jwtTokensByRole"`
}

AppProjectStatus contains status information for AppProject CRs

func (*AppProjectStatus) DeepCopy

func (in *AppProjectStatus) DeepCopy() *AppProjectStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppProjectStatus.

func (*AppProjectStatus) DeepCopyInto

func (in *AppProjectStatus) DeepCopyInto(out *AppProjectStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AppProjectStatus) Descriptor

func (*AppProjectStatus) Descriptor() ([]byte, []int)

func (*AppProjectStatus) Marshal

func (m *AppProjectStatus) Marshal() (dAtA []byte, err error)

func (*AppProjectStatus) MarshalTo

func (m *AppProjectStatus) MarshalTo(dAtA []byte) (int, error)

func (*AppProjectStatus) MarshalToSizedBuffer

func (m *AppProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppProjectStatus) ProtoMessage

func (*AppProjectStatus) ProtoMessage()

func (*AppProjectStatus) Reset

func (m *AppProjectStatus) Reset()

func (*AppProjectStatus) Size

func (m *AppProjectStatus) Size() (n int)

func (*AppProjectStatus) String

func (this *AppProjectStatus) String() string

func (*AppProjectStatus) Unmarshal

func (m *AppProjectStatus) Unmarshal(dAtA []byte) error

func (*AppProjectStatus) XXX_DiscardUnknown

func (m *AppProjectStatus) XXX_DiscardUnknown()

func (*AppProjectStatus) XXX_Marshal

func (m *AppProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppProjectStatus) XXX_Merge

func (m *AppProjectStatus) XXX_Merge(src proto.Message)

func (*AppProjectStatus) XXX_Size

func (m *AppProjectStatus) XXX_Size() int

func (*AppProjectStatus) XXX_Unmarshal

func (m *AppProjectStatus) XXX_Unmarshal(b []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,omitempty" 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 +kubebuilder:resource:path=applications,shortName=app;apps +kubebuilder:printcolumn:name="Sync Status",type=string,JSONPath=`.status.sync.status` +kubebuilder:printcolumn:name="Health Status",type=string,JSONPath=`.status.health.status` +kubebuilder:printcolumn:name="Revision",type=string,JSONPath=`.status.sync.revision`,priority=10

func (*Application) CascadedDeletion

func (app *Application) CascadedDeletion() bool

CascadedDeletion indicates if the deletion finalizer is set and controller should delete the application and it's cascaded resources

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) GetPropagationPolicy

func (app *Application) GetPropagationPolicy() string

GetPropagationPolicy returns the value of propagation policy finalizer

func (*Application) InstanceName added in v2.5.0

func (a *Application) InstanceName(defaultNs string) string

InstanceName returns the name of the application as used in the instance tracking values, i.e. in the format <namespace>_<name>. When the namespace of the application is similar to the value of defaultNs, only the name of the application is returned to keep backwards compatibility.

func (*Application) IsFinalizerPresent

func (app *Application) IsFinalizerPresent(finalizer string) bool

IsFinalizerPresent checks if the app has a given finalizer

func (*Application) IsRefreshRequested

func (app *Application) IsRefreshRequested() (RefreshType, bool)

IsRefreshRequested returns whether a refresh has been requested for an application, and if yes, the type of refresh that should be executed.

func (*Application) Marshal

func (m *Application) Marshal() (dAtA []byte, err error)

func (*Application) MarshalTo

func (m *Application) MarshalTo(dAtA []byte) (int, error)

func (*Application) MarshalToSizedBuffer

func (m *Application) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Application) ProtoMessage

func (*Application) ProtoMessage()

func (*Application) QualifiedName added in v2.5.0

func (a *Application) QualifiedName() string

QualifiedName returns the full qualified name of the application, including the name of the namespace it is created in delimited by a forward slash, i.e. <namespace>/<appname>

func (*Application) RBACName added in v2.5.0

func (a *Application) RBACName(defaultNS string) string

RBACName returns the full qualified RBAC resource name for the application in a backwards-compatible way.

func (*Application) Reset

func (m *Application) Reset()

func (*Application) SetCascadedDeletion

func (app *Application) SetCascadedDeletion(finalizer string)

SetCascadedDeletion will enable cascaded deletion by setting the propagation policy finalizer

func (*Application) Size

func (m *Application) Size() (n int)

func (*Application) String

func (this *Application) String() string

func (*Application) UnSetCascadedDeletion

func (app *Application) UnSetCascadedDeletion()

UnSetCascadedDeletion will remove the propagation policy finalizers

func (*Application) Unmarshal

func (m *Application) Unmarshal(dAtA []byte) error

func (*Application) XXX_DiscardUnknown

func (m *Application) XXX_DiscardUnknown()

func (*Application) XXX_Marshal

func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Application) XXX_Merge

func (m *Application) XXX_Merge(src proto.Message)

func (*Application) XXX_Size

func (m *Application) XXX_Size() int

func (*Application) XXX_Unmarshal

func (m *Application) XXX_Unmarshal(b []byte) error

type ApplicationCondition

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"`
	// LastTransitionTime is the time the condition was last observed
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
}

ApplicationCondition contains details about an application condition, which is usally an error or warning

func (*ApplicationCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationCondition.

func (*ApplicationCondition) DeepCopyInto

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

func (*ApplicationCondition) Descriptor() ([]byte, []int)

func (*ApplicationCondition) IsError

func (condition *ApplicationCondition) IsError() bool

IsError returns true if a condition indicates an error condition

func (*ApplicationCondition) Marshal

func (m *ApplicationCondition) Marshal() (dAtA []byte, err error)

func (*ApplicationCondition) MarshalTo

func (m *ApplicationCondition) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationCondition) MarshalToSizedBuffer

func (m *ApplicationCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationCondition) ProtoMessage

func (*ApplicationCondition) ProtoMessage()

func (*ApplicationCondition) Reset

func (m *ApplicationCondition) Reset()

func (*ApplicationCondition) Size

func (m *ApplicationCondition) Size() (n int)

func (*ApplicationCondition) String

func (this *ApplicationCondition) String() string

func (*ApplicationCondition) Unmarshal

func (m *ApplicationCondition) Unmarshal(dAtA []byte) error

func (*ApplicationCondition) XXX_DiscardUnknown

func (m *ApplicationCondition) XXX_DiscardUnknown()

func (*ApplicationCondition) XXX_Marshal

func (m *ApplicationCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationCondition) XXX_Merge

func (m *ApplicationCondition) XXX_Merge(src proto.Message)

func (*ApplicationCondition) XXX_Size

func (m *ApplicationCondition) XXX_Size() int

func (*ApplicationCondition) XXX_Unmarshal

func (m *ApplicationCondition) XXX_Unmarshal(b []byte) error

type ApplicationConditionType

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 specifies the URL of the target cluster and must be set to the Kubernetes control plane API
	Server string `json:"server,omitempty" protobuf:"bytes,1,opt,name=server"`
	// Namespace specifies the target namespace for the application's resources.
	// The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
	// Name is an alternate way of specifying the target cluster by its symbolic name
	Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"`
	// contains filtered or unexported fields
}

ApplicationDestination holds information about the application's destination

func (*ApplicationDestination) DeepCopy

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) Equals

Equals compares two instances of ApplicationDestination and returns true if instances are equal.

func (*ApplicationDestination) IsServerInferred

func (d *ApplicationDestination) IsServerInferred() bool

An ApplicationDestination has an 'inferred server' if the ApplicationDestination contains a Name, but not a Server URL. In this case it is necessary to retrieve the Server URL by looking up the cluster name.

As of this writing, looking up the cluster name, and setting the URL, is performed by 'utils.ValidateDestination(...)', which then calls SetInferredServer.

func (*ApplicationDestination) Marshal

func (m *ApplicationDestination) Marshal() (dAtA []byte, err error)

func (*ApplicationDestination) MarshalJSON

func (d *ApplicationDestination) MarshalJSON() ([]byte, error)

MarshalJSON marshals an application destination to JSON format

func (*ApplicationDestination) MarshalTo

func (m *ApplicationDestination) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationDestination) MarshalToSizedBuffer

func (m *ApplicationDestination) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationDestination) ProtoMessage

func (*ApplicationDestination) ProtoMessage()

func (*ApplicationDestination) Reset

func (m *ApplicationDestination) Reset()

func (*ApplicationDestination) SetInferredServer

func (d *ApplicationDestination) SetInferredServer(server string)

SetInferredServer sets the Server field of the destination. See IsServerInferred() for details.

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

func (*ApplicationDestination) XXX_DiscardUnknown

func (m *ApplicationDestination) XXX_DiscardUnknown()

func (*ApplicationDestination) XXX_Marshal

func (m *ApplicationDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationDestination) XXX_Merge

func (m *ApplicationDestination) XXX_Merge(src proto.Message)

func (*ApplicationDestination) XXX_Size

func (m *ApplicationDestination) XXX_Size() int

func (*ApplicationDestination) XXX_Unmarshal

func (m *ApplicationDestination) XXX_Unmarshal(b []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) MarshalTo

func (m *ApplicationList) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationList) MarshalToSizedBuffer

func (m *ApplicationList) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*ApplicationList) XXX_DiscardUnknown

func (m *ApplicationList) XXX_DiscardUnknown()

func (*ApplicationList) XXX_Marshal

func (m *ApplicationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationList) XXX_Merge

func (m *ApplicationList) XXX_Merge(src proto.Message)

func (*ApplicationList) XXX_Size

func (m *ApplicationList) XXX_Size() int

func (*ApplicationList) XXX_Unmarshal

func (m *ApplicationList) XXX_Unmarshal(b []byte) error

type ApplicationSet added in v2.5.0

type ApplicationSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ApplicationSetSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status            ApplicationSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ApplicationSet is a set of Application resources +genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:path=applicationsets,shortName=appset;appsets +kubebuilder:subresource:status

func (*ApplicationSet) DeepCopy added in v2.5.0

func (in *ApplicationSet) DeepCopy() *ApplicationSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSet.

func (*ApplicationSet) DeepCopyInto added in v2.5.0

func (in *ApplicationSet) DeepCopyInto(out *ApplicationSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSet) DeepCopyObject added in v2.5.0

func (in *ApplicationSet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ApplicationSet) Descriptor added in v2.5.0

func (*ApplicationSet) Descriptor() ([]byte, []int)

func (*ApplicationSet) Marshal added in v2.5.0

func (m *ApplicationSet) Marshal() (dAtA []byte, err error)

func (*ApplicationSet) MarshalTo added in v2.5.0

func (m *ApplicationSet) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSet) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSet) ProtoMessage added in v2.5.0

func (*ApplicationSet) ProtoMessage()

func (*ApplicationSet) RBACName added in v2.5.6

func (a *ApplicationSet) RBACName() string

RBACName formats fully qualified application name for RBAC check.

func (*ApplicationSet) RefreshRequired added in v2.5.0

func (a *ApplicationSet) RefreshRequired() bool

RefreshRequired checks if the ApplicationSet needs to be refreshed

func (*ApplicationSet) Reset added in v2.5.0

func (m *ApplicationSet) Reset()

func (*ApplicationSet) Size added in v2.5.0

func (m *ApplicationSet) Size() (n int)

func (*ApplicationSet) String added in v2.5.0

func (this *ApplicationSet) String() string

func (*ApplicationSet) Unmarshal added in v2.5.0

func (m *ApplicationSet) Unmarshal(dAtA []byte) error

func (*ApplicationSet) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSet) XXX_DiscardUnknown()

func (*ApplicationSet) XXX_Marshal added in v2.5.0

func (m *ApplicationSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSet) XXX_Merge added in v2.5.0

func (m *ApplicationSet) XXX_Merge(src proto.Message)

func (*ApplicationSet) XXX_Size added in v2.5.0

func (m *ApplicationSet) XXX_Size() int

func (*ApplicationSet) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSet) XXX_Unmarshal(b []byte) error

type ApplicationSetCondition added in v2.5.0

type ApplicationSetCondition struct {
	// Type is an applicationset condition type
	Type ApplicationSetConditionType `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"`
	// LastTransitionTime is the time the condition was last observed
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// True/False/Unknown
	Status ApplicationSetConditionStatus `json:"status" protobuf:"bytes,4,opt,name=status"`
	//Single word camelcase representing the reason for the status eg ErrorOccurred
	Reason string `json:"reason" protobuf:"bytes,5,opt,name=reason"`
}

ApplicationSetCondition contains details about an applicationset condition, which is usally an error or warning

func (*ApplicationSetCondition) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetCondition.

func (*ApplicationSetCondition) DeepCopyInto added in v2.5.0

func (in *ApplicationSetCondition) DeepCopyInto(out *ApplicationSetCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetCondition) Descriptor added in v2.5.0

func (*ApplicationSetCondition) Descriptor() ([]byte, []int)

func (*ApplicationSetCondition) Marshal added in v2.5.0

func (m *ApplicationSetCondition) Marshal() (dAtA []byte, err error)

func (*ApplicationSetCondition) MarshalTo added in v2.5.0

func (m *ApplicationSetCondition) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetCondition) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetCondition) ProtoMessage added in v2.5.0

func (*ApplicationSetCondition) ProtoMessage()

func (*ApplicationSetCondition) Reset added in v2.5.0

func (m *ApplicationSetCondition) Reset()

func (*ApplicationSetCondition) Size added in v2.5.0

func (m *ApplicationSetCondition) Size() (n int)

func (*ApplicationSetCondition) String added in v2.5.0

func (this *ApplicationSetCondition) String() string

func (*ApplicationSetCondition) Unmarshal added in v2.5.0

func (m *ApplicationSetCondition) Unmarshal(dAtA []byte) error

func (*ApplicationSetCondition) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetCondition) XXX_DiscardUnknown()

func (*ApplicationSetCondition) XXX_Marshal added in v2.5.0

func (m *ApplicationSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetCondition) XXX_Merge added in v2.5.0

func (m *ApplicationSetCondition) XXX_Merge(src proto.Message)

func (*ApplicationSetCondition) XXX_Size added in v2.5.0

func (m *ApplicationSetCondition) XXX_Size() int

func (*ApplicationSetCondition) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetCondition) XXX_Unmarshal(b []byte) error

type ApplicationSetConditionStatus added in v2.5.0

type ApplicationSetConditionStatus string

SyncStatusCode is a type which represents possible comparison results

const (
	// ApplicationSetConditionStatusTrue indicates that a application has been successfully established
	ApplicationSetConditionStatusTrue ApplicationSetConditionStatus = "True"
	// ApplicationSetConditionStatusFalse indicates that a application attempt has failed
	ApplicationSetConditionStatusFalse ApplicationSetConditionStatus = "False"
	// ApplicationSetConditionStatusUnknown indicates that the application condition status could not be reliably determined
	ApplicationSetConditionStatusUnknown ApplicationSetConditionStatus = "Unknown"
)

Application Condition Status

type ApplicationSetConditionType added in v2.5.0

type ApplicationSetConditionType string

ApplicationSetConditionType 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

const (
	ApplicationSetConditionErrorOccurred       ApplicationSetConditionType = "ErrorOccurred"
	ApplicationSetConditionParametersGenerated ApplicationSetConditionType = "ParametersGenerated"
	ApplicationSetConditionResourcesUpToDate   ApplicationSetConditionType = "ResourcesUpToDate"
)

ErrorOccurred / ParametersGenerated / TemplateRendered / ResourcesUpToDate

type ApplicationSetGenerator added in v2.5.0

type ApplicationSetGenerator struct {
	List                    *ListGenerator        `json:"list,omitempty" protobuf:"bytes,1,name=list"`
	Clusters                *ClusterGenerator     `json:"clusters,omitempty" protobuf:"bytes,2,name=clusters"`
	Git                     *GitGenerator         `json:"git,omitempty" protobuf:"bytes,3,name=git"`
	SCMProvider             *SCMProviderGenerator `json:"scmProvider,omitempty" protobuf:"bytes,4,name=scmProvider"`
	ClusterDecisionResource *DuckTypeGenerator    `json:"clusterDecisionResource,omitempty" protobuf:"bytes,5,name=clusterDecisionResource"`
	PullRequest             *PullRequestGenerator `json:"pullRequest,omitempty" protobuf:"bytes,6,name=pullRequest"`
	Matrix                  *MatrixGenerator      `json:"matrix,omitempty" protobuf:"bytes,7,name=matrix"`
	Merge                   *MergeGenerator       `json:"merge,omitempty" protobuf:"bytes,8,name=merge"`

	// Selector allows to post-filter all generator.
	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,9,name=selector"`
}

ApplicationSetGenerator represents a generator at the top level of an ApplicationSet.

func (*ApplicationSetGenerator) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetGenerator.

func (*ApplicationSetGenerator) DeepCopyInto added in v2.5.0

func (in *ApplicationSetGenerator) DeepCopyInto(out *ApplicationSetGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetGenerator) Descriptor added in v2.5.0

func (*ApplicationSetGenerator) Descriptor() ([]byte, []int)

func (*ApplicationSetGenerator) Marshal added in v2.5.0

func (m *ApplicationSetGenerator) Marshal() (dAtA []byte, err error)

func (*ApplicationSetGenerator) MarshalTo added in v2.5.0

func (m *ApplicationSetGenerator) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetGenerator) ProtoMessage added in v2.5.0

func (*ApplicationSetGenerator) ProtoMessage()

func (*ApplicationSetGenerator) Reset added in v2.5.0

func (m *ApplicationSetGenerator) Reset()

func (*ApplicationSetGenerator) Size added in v2.5.0

func (m *ApplicationSetGenerator) Size() (n int)

func (*ApplicationSetGenerator) String added in v2.5.0

func (this *ApplicationSetGenerator) String() string

func (*ApplicationSetGenerator) Unmarshal added in v2.5.0

func (m *ApplicationSetGenerator) Unmarshal(dAtA []byte) error

func (*ApplicationSetGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetGenerator) XXX_DiscardUnknown()

func (*ApplicationSetGenerator) XXX_Marshal added in v2.5.0

func (m *ApplicationSetGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetGenerator) XXX_Merge added in v2.5.0

func (m *ApplicationSetGenerator) XXX_Merge(src proto.Message)

func (*ApplicationSetGenerator) XXX_Size added in v2.5.0

func (m *ApplicationSetGenerator) XXX_Size() int

func (*ApplicationSetGenerator) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetGenerator) XXX_Unmarshal(b []byte) error

type ApplicationSetList added in v2.5.0

type ApplicationSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []ApplicationSet `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ApplicationSetList contains a list of ApplicationSet +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true

func (*ApplicationSetList) DeepCopy added in v2.5.0

func (in *ApplicationSetList) DeepCopy() *ApplicationSetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetList.

func (*ApplicationSetList) DeepCopyInto added in v2.5.0

func (in *ApplicationSetList) DeepCopyInto(out *ApplicationSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetList) DeepCopyObject added in v2.5.0

func (in *ApplicationSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ApplicationSetList) Descriptor added in v2.5.0

func (*ApplicationSetList) Descriptor() ([]byte, []int)

func (*ApplicationSetList) Marshal added in v2.5.0

func (m *ApplicationSetList) Marshal() (dAtA []byte, err error)

func (*ApplicationSetList) MarshalTo added in v2.5.0

func (m *ApplicationSetList) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetList) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetList) ProtoMessage added in v2.5.0

func (*ApplicationSetList) ProtoMessage()

func (*ApplicationSetList) Reset added in v2.5.0

func (m *ApplicationSetList) Reset()

func (*ApplicationSetList) Size added in v2.5.0

func (m *ApplicationSetList) Size() (n int)

func (*ApplicationSetList) String added in v2.5.0

func (this *ApplicationSetList) String() string

func (*ApplicationSetList) Unmarshal added in v2.5.0

func (m *ApplicationSetList) Unmarshal(dAtA []byte) error

func (*ApplicationSetList) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetList) XXX_DiscardUnknown()

func (*ApplicationSetList) XXX_Marshal added in v2.5.0

func (m *ApplicationSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetList) XXX_Merge added in v2.5.0

func (m *ApplicationSetList) XXX_Merge(src proto.Message)

func (*ApplicationSetList) XXX_Size added in v2.5.0

func (m *ApplicationSetList) XXX_Size() int

func (*ApplicationSetList) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetList) XXX_Unmarshal(b []byte) error

type ApplicationSetNestedGenerator added in v2.5.0

type ApplicationSetNestedGenerator struct {
	List                    *ListGenerator        `json:"list,omitempty" protobuf:"bytes,1,name=list"`
	Clusters                *ClusterGenerator     `json:"clusters,omitempty" protobuf:"bytes,2,name=clusters"`
	Git                     *GitGenerator         `json:"git,omitempty" protobuf:"bytes,3,name=git"`
	SCMProvider             *SCMProviderGenerator `json:"scmProvider,omitempty" protobuf:"bytes,4,name=scmProvider"`
	ClusterDecisionResource *DuckTypeGenerator    `json:"clusterDecisionResource,omitempty" protobuf:"bytes,5,name=clusterDecisionResource"`
	PullRequest             *PullRequestGenerator `json:"pullRequest,omitempty" protobuf:"bytes,6,name=pullRequest"`

	// Matrix should have the form of NestedMatrixGenerator
	Matrix *apiextensionsv1.JSON `json:"matrix,omitempty" protobuf:"bytes,7,name=matrix"`

	// Merge should have the form of NestedMergeGenerator
	Merge *apiextensionsv1.JSON `json:"merge,omitempty" protobuf:"bytes,8,name=merge"`

	// Selector allows to post-filter all generator.
	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,9,name=selector"`
}

ApplicationSetNestedGenerator represents a generator nested within a combination-type generator (MatrixGenerator or MergeGenerator).

func (*ApplicationSetNestedGenerator) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetNestedGenerator.

func (*ApplicationSetNestedGenerator) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetNestedGenerator) Descriptor added in v2.5.0

func (*ApplicationSetNestedGenerator) Descriptor() ([]byte, []int)

func (*ApplicationSetNestedGenerator) Marshal added in v2.5.0

func (m *ApplicationSetNestedGenerator) Marshal() (dAtA []byte, err error)

func (*ApplicationSetNestedGenerator) MarshalTo added in v2.5.0

func (m *ApplicationSetNestedGenerator) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetNestedGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetNestedGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetNestedGenerator) ProtoMessage added in v2.5.0

func (*ApplicationSetNestedGenerator) ProtoMessage()

func (*ApplicationSetNestedGenerator) Reset added in v2.5.0

func (m *ApplicationSetNestedGenerator) Reset()

func (*ApplicationSetNestedGenerator) Size added in v2.5.0

func (m *ApplicationSetNestedGenerator) Size() (n int)

func (*ApplicationSetNestedGenerator) String added in v2.5.0

func (this *ApplicationSetNestedGenerator) String() string

func (*ApplicationSetNestedGenerator) Unmarshal added in v2.5.0

func (m *ApplicationSetNestedGenerator) Unmarshal(dAtA []byte) error

func (*ApplicationSetNestedGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetNestedGenerator) XXX_DiscardUnknown()

func (*ApplicationSetNestedGenerator) XXX_Marshal added in v2.5.0

func (m *ApplicationSetNestedGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetNestedGenerator) XXX_Merge added in v2.5.0

func (m *ApplicationSetNestedGenerator) XXX_Merge(src proto.Message)

func (*ApplicationSetNestedGenerator) XXX_Size added in v2.5.0

func (m *ApplicationSetNestedGenerator) XXX_Size() int

func (*ApplicationSetNestedGenerator) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetNestedGenerator) XXX_Unmarshal(b []byte) error

type ApplicationSetNestedGenerators added in v2.5.0

type ApplicationSetNestedGenerators []ApplicationSetNestedGenerator

func (ApplicationSetNestedGenerators) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetNestedGenerators.

func (ApplicationSetNestedGenerators) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ApplicationSetReasonType added in v2.5.0

type ApplicationSetReasonType string

type ApplicationSetSpec added in v2.5.0

type ApplicationSetSpec struct {
	GoTemplate bool                      `json:"goTemplate,omitempty" protobuf:"bytes,1,name=goTemplate"`
	Generators []ApplicationSetGenerator `json:"generators" protobuf:"bytes,2,name=generators"`
	Template   ApplicationSetTemplate    `json:"template" protobuf:"bytes,3,name=template"`
	SyncPolicy *ApplicationSetSyncPolicy `json:"syncPolicy,omitempty" protobuf:"bytes,4,name=syncPolicy"`
}

ApplicationSetSpec represents a class of application set state.

func (*ApplicationSetSpec) DeepCopy added in v2.5.0

func (in *ApplicationSetSpec) DeepCopy() *ApplicationSetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetSpec.

func (*ApplicationSetSpec) DeepCopyInto added in v2.5.0

func (in *ApplicationSetSpec) DeepCopyInto(out *ApplicationSetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetSpec) Descriptor added in v2.5.0

func (*ApplicationSetSpec) Descriptor() ([]byte, []int)

func (*ApplicationSetSpec) Marshal added in v2.5.0

func (m *ApplicationSetSpec) Marshal() (dAtA []byte, err error)

func (*ApplicationSetSpec) MarshalTo added in v2.5.0

func (m *ApplicationSetSpec) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetSpec) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetSpec) ProtoMessage added in v2.5.0

func (*ApplicationSetSpec) ProtoMessage()

func (*ApplicationSetSpec) Reset added in v2.5.0

func (m *ApplicationSetSpec) Reset()

func (*ApplicationSetSpec) Size added in v2.5.0

func (m *ApplicationSetSpec) Size() (n int)

func (*ApplicationSetSpec) String added in v2.5.0

func (this *ApplicationSetSpec) String() string

func (*ApplicationSetSpec) Unmarshal added in v2.5.0

func (m *ApplicationSetSpec) Unmarshal(dAtA []byte) error

func (*ApplicationSetSpec) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetSpec) XXX_DiscardUnknown()

func (*ApplicationSetSpec) XXX_Marshal added in v2.5.0

func (m *ApplicationSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetSpec) XXX_Merge added in v2.5.0

func (m *ApplicationSetSpec) XXX_Merge(src proto.Message)

func (*ApplicationSetSpec) XXX_Size added in v2.5.0

func (m *ApplicationSetSpec) XXX_Size() int

func (*ApplicationSetSpec) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetSpec) XXX_Unmarshal(b []byte) error

type ApplicationSetStatus added in v2.5.0

type ApplicationSetStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Conditions []ApplicationSetCondition `json:"conditions,omitempty" protobuf:"bytes,1,name=conditions"`
}

ApplicationSetStatus defines the observed state of ApplicationSet

func (*ApplicationSetStatus) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetStatus.

func (*ApplicationSetStatus) DeepCopyInto added in v2.5.0

func (in *ApplicationSetStatus) DeepCopyInto(out *ApplicationSetStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetStatus) Descriptor added in v2.5.0

func (*ApplicationSetStatus) Descriptor() ([]byte, []int)

func (*ApplicationSetStatus) Marshal added in v2.5.0

func (m *ApplicationSetStatus) Marshal() (dAtA []byte, err error)

func (*ApplicationSetStatus) MarshalTo added in v2.5.0

func (m *ApplicationSetStatus) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetStatus) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetStatus) ProtoMessage added in v2.5.0

func (*ApplicationSetStatus) ProtoMessage()

func (*ApplicationSetStatus) Reset added in v2.5.0

func (m *ApplicationSetStatus) Reset()

func (*ApplicationSetStatus) SetConditions added in v2.5.0

func (status *ApplicationSetStatus) SetConditions(conditions []ApplicationSetCondition, evaluatedTypes map[ApplicationSetConditionType]bool)

SetConditions updates the applicationset status conditions for a subset of evaluated types. If the applicationset has a pre-existing condition of a type that is not in the evaluated list, it will be preserved. If the applicationset has a pre-existing condition of a type, status, reason that is in the evaluated list, but not in the incoming conditions list, it will be removed.

func (*ApplicationSetStatus) Size added in v2.5.0

func (m *ApplicationSetStatus) Size() (n int)

func (*ApplicationSetStatus) String added in v2.5.0

func (this *ApplicationSetStatus) String() string

func (*ApplicationSetStatus) Unmarshal added in v2.5.0

func (m *ApplicationSetStatus) Unmarshal(dAtA []byte) error

func (*ApplicationSetStatus) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetStatus) XXX_DiscardUnknown()

func (*ApplicationSetStatus) XXX_Marshal added in v2.5.0

func (m *ApplicationSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetStatus) XXX_Merge added in v2.5.0

func (m *ApplicationSetStatus) XXX_Merge(src proto.Message)

func (*ApplicationSetStatus) XXX_Size added in v2.5.0

func (m *ApplicationSetStatus) XXX_Size() int

func (*ApplicationSetStatus) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetStatus) XXX_Unmarshal(b []byte) error

type ApplicationSetSyncPolicy added in v2.5.0

type ApplicationSetSyncPolicy struct {
	// PreserveResourcesOnDeletion will preserve resources on deletion. If PreserveResourcesOnDeletion is set to true, these Applications will not be deleted.
	PreserveResourcesOnDeletion bool `json:"preserveResourcesOnDeletion,omitempty" protobuf:"bytes,1,name=syncPolicy"`
}

ApplicationSetSyncPolicy configures how generated Applications will relate to their ApplicationSet.

func (*ApplicationSetSyncPolicy) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetSyncPolicy.

func (*ApplicationSetSyncPolicy) DeepCopyInto added in v2.5.0

func (in *ApplicationSetSyncPolicy) DeepCopyInto(out *ApplicationSetSyncPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetSyncPolicy) Descriptor added in v2.5.0

func (*ApplicationSetSyncPolicy) Descriptor() ([]byte, []int)

func (*ApplicationSetSyncPolicy) Marshal added in v2.5.0

func (m *ApplicationSetSyncPolicy) Marshal() (dAtA []byte, err error)

func (*ApplicationSetSyncPolicy) MarshalTo added in v2.5.0

func (m *ApplicationSetSyncPolicy) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetSyncPolicy) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetSyncPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetSyncPolicy) ProtoMessage added in v2.5.0

func (*ApplicationSetSyncPolicy) ProtoMessage()

func (*ApplicationSetSyncPolicy) Reset added in v2.5.0

func (m *ApplicationSetSyncPolicy) Reset()

func (*ApplicationSetSyncPolicy) Size added in v2.5.0

func (m *ApplicationSetSyncPolicy) Size() (n int)

func (*ApplicationSetSyncPolicy) String added in v2.5.0

func (this *ApplicationSetSyncPolicy) String() string

func (*ApplicationSetSyncPolicy) Unmarshal added in v2.5.0

func (m *ApplicationSetSyncPolicy) Unmarshal(dAtA []byte) error

func (*ApplicationSetSyncPolicy) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetSyncPolicy) XXX_DiscardUnknown()

func (*ApplicationSetSyncPolicy) XXX_Marshal added in v2.5.0

func (m *ApplicationSetSyncPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetSyncPolicy) XXX_Merge added in v2.5.0

func (m *ApplicationSetSyncPolicy) XXX_Merge(src proto.Message)

func (*ApplicationSetSyncPolicy) XXX_Size added in v2.5.0

func (m *ApplicationSetSyncPolicy) XXX_Size() int

func (*ApplicationSetSyncPolicy) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetSyncPolicy) XXX_Unmarshal(b []byte) error

type ApplicationSetTemplate added in v2.5.0

type ApplicationSetTemplate struct {
	ApplicationSetTemplateMeta `json:"metadata" protobuf:"bytes,1,name=metadata"`
	Spec                       ApplicationSpec `json:"spec" protobuf:"bytes,2,name=spec"`
}

ApplicationSetTemplate represents argocd ApplicationSpec

func (*ApplicationSetTemplate) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetTemplate.

func (*ApplicationSetTemplate) DeepCopyInto added in v2.5.0

func (in *ApplicationSetTemplate) DeepCopyInto(out *ApplicationSetTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetTemplate) Descriptor added in v2.5.0

func (*ApplicationSetTemplate) Descriptor() ([]byte, []int)

func (*ApplicationSetTemplate) Marshal added in v2.5.0

func (m *ApplicationSetTemplate) Marshal() (dAtA []byte, err error)

func (*ApplicationSetTemplate) MarshalTo added in v2.5.0

func (m *ApplicationSetTemplate) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetTemplate) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetTemplate) ProtoMessage added in v2.5.0

func (*ApplicationSetTemplate) ProtoMessage()

func (*ApplicationSetTemplate) Reset added in v2.5.0

func (m *ApplicationSetTemplate) Reset()

func (*ApplicationSetTemplate) Size added in v2.5.0

func (m *ApplicationSetTemplate) Size() (n int)

func (*ApplicationSetTemplate) String added in v2.5.0

func (this *ApplicationSetTemplate) String() string

func (*ApplicationSetTemplate) Unmarshal added in v2.5.0

func (m *ApplicationSetTemplate) Unmarshal(dAtA []byte) error

func (*ApplicationSetTemplate) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetTemplate) XXX_DiscardUnknown()

func (*ApplicationSetTemplate) XXX_Marshal added in v2.5.0

func (m *ApplicationSetTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetTemplate) XXX_Merge added in v2.5.0

func (m *ApplicationSetTemplate) XXX_Merge(src proto.Message)

func (*ApplicationSetTemplate) XXX_Size added in v2.5.0

func (m *ApplicationSetTemplate) XXX_Size() int

func (*ApplicationSetTemplate) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetTemplate) XXX_Unmarshal(b []byte) error

type ApplicationSetTemplateMeta added in v2.5.0

type ApplicationSetTemplateMeta struct {
	Name        string            `json:"name,omitempty" protobuf:"bytes,1,name=name"`
	Namespace   string            `json:"namespace,omitempty" protobuf:"bytes,2,name=namespace"`
	Labels      map[string]string `json:"labels,omitempty" protobuf:"bytes,3,name=labels"`
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,4,name=annotations"`
	Finalizers  []string          `json:"finalizers,omitempty" protobuf:"bytes,5,name=finalizers"`
}

ApplicationSetTemplateMeta represents the Argo CD application fields that may be used for Applications generated from the ApplicationSet (based on metav1.ObjectMeta)

func (*ApplicationSetTemplateMeta) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetTemplateMeta.

func (*ApplicationSetTemplateMeta) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetTemplateMeta) Descriptor added in v2.5.0

func (*ApplicationSetTemplateMeta) Descriptor() ([]byte, []int)

func (*ApplicationSetTemplateMeta) Marshal added in v2.5.0

func (m *ApplicationSetTemplateMeta) Marshal() (dAtA []byte, err error)

func (*ApplicationSetTemplateMeta) MarshalTo added in v2.5.0

func (m *ApplicationSetTemplateMeta) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetTemplateMeta) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetTemplateMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetTemplateMeta) ProtoMessage added in v2.5.0

func (*ApplicationSetTemplateMeta) ProtoMessage()

func (*ApplicationSetTemplateMeta) Reset added in v2.5.0

func (m *ApplicationSetTemplateMeta) Reset()

func (*ApplicationSetTemplateMeta) Size added in v2.5.0

func (m *ApplicationSetTemplateMeta) Size() (n int)

func (*ApplicationSetTemplateMeta) String added in v2.5.0

func (this *ApplicationSetTemplateMeta) String() string

func (*ApplicationSetTemplateMeta) Unmarshal added in v2.5.0

func (m *ApplicationSetTemplateMeta) Unmarshal(dAtA []byte) error

func (*ApplicationSetTemplateMeta) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetTemplateMeta) XXX_DiscardUnknown()

func (*ApplicationSetTemplateMeta) XXX_Marshal added in v2.5.0

func (m *ApplicationSetTemplateMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetTemplateMeta) XXX_Merge added in v2.5.0

func (m *ApplicationSetTemplateMeta) XXX_Merge(src proto.Message)

func (*ApplicationSetTemplateMeta) XXX_Size added in v2.5.0

func (m *ApplicationSetTemplateMeta) XXX_Size() int

func (*ApplicationSetTemplateMeta) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetTemplateMeta) XXX_Unmarshal(b []byte) error

type ApplicationSetTerminalGenerator added in v2.5.0

type ApplicationSetTerminalGenerator struct {
	List                    *ListGenerator        `json:"list,omitempty" protobuf:"bytes,1,name=list"`
	Clusters                *ClusterGenerator     `json:"clusters,omitempty" protobuf:"bytes,2,name=clusters"`
	Git                     *GitGenerator         `json:"git,omitempty" protobuf:"bytes,3,name=git"`
	SCMProvider             *SCMProviderGenerator `json:"scmProvider,omitempty" protobuf:"bytes,4,name=scmProvider"`
	ClusterDecisionResource *DuckTypeGenerator    `json:"clusterDecisionResource,omitempty" protobuf:"bytes,5,name=clusterDecisionResource"`
	PullRequest             *PullRequestGenerator `json:"pullRequest,omitempty" protobuf:"bytes,6,name=pullRequest"`
}

ApplicationSetTerminalGenerator represents a generator nested within a nested generator (for example, a list within a merge within a matrix). A generator at this level may not be a combination-type generator (MatrixGenerator or MergeGenerator). ApplicationSet enforces this nesting depth limit because CRDs do not support recursive types. https://github.com/kubernetes-sigs/controller-tools/issues/477

func (*ApplicationSetTerminalGenerator) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetTerminalGenerator.

func (*ApplicationSetTerminalGenerator) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSetTerminalGenerator) Descriptor added in v2.5.0

func (*ApplicationSetTerminalGenerator) Descriptor() ([]byte, []int)

func (*ApplicationSetTerminalGenerator) Marshal added in v2.5.0

func (m *ApplicationSetTerminalGenerator) Marshal() (dAtA []byte, err error)

func (*ApplicationSetTerminalGenerator) MarshalTo added in v2.5.0

func (m *ApplicationSetTerminalGenerator) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSetTerminalGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *ApplicationSetTerminalGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSetTerminalGenerator) ProtoMessage added in v2.5.0

func (*ApplicationSetTerminalGenerator) ProtoMessage()

func (*ApplicationSetTerminalGenerator) Reset added in v2.5.0

func (*ApplicationSetTerminalGenerator) Size added in v2.5.0

func (m *ApplicationSetTerminalGenerator) Size() (n int)

func (*ApplicationSetTerminalGenerator) String added in v2.5.0

func (this *ApplicationSetTerminalGenerator) String() string

func (*ApplicationSetTerminalGenerator) Unmarshal added in v2.5.0

func (m *ApplicationSetTerminalGenerator) Unmarshal(dAtA []byte) error

func (*ApplicationSetTerminalGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *ApplicationSetTerminalGenerator) XXX_DiscardUnknown()

func (*ApplicationSetTerminalGenerator) XXX_Marshal added in v2.5.0

func (m *ApplicationSetTerminalGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSetTerminalGenerator) XXX_Merge added in v2.5.0

func (m *ApplicationSetTerminalGenerator) XXX_Merge(src proto.Message)

func (*ApplicationSetTerminalGenerator) XXX_Size added in v2.5.0

func (m *ApplicationSetTerminalGenerator) XXX_Size() int

func (*ApplicationSetTerminalGenerator) XXX_Unmarshal added in v2.5.0

func (m *ApplicationSetTerminalGenerator) XXX_Unmarshal(b []byte) error

type ApplicationSetTerminalGenerators added in v2.5.0

type ApplicationSetTerminalGenerators []ApplicationSetTerminalGenerator

func (ApplicationSetTerminalGenerators) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSetTerminalGenerators.

func (ApplicationSetTerminalGenerators) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ApplicationSource

type ApplicationSource struct {
	// RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
	RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"`
	// Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
	Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`
	// TargetRevision defines the revision of the source to sync the application to.
	// In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD.
	// In case of Helm, this is a semver tag for the Chart's version.
	TargetRevision string `json:"targetRevision,omitempty" protobuf:"bytes,4,opt,name=targetRevision"`
	// Helm holds helm specific options
	Helm *ApplicationSourceHelm `json:"helm,omitempty" protobuf:"bytes,7,opt,name=helm"`
	// Kustomize holds kustomize specific options
	Kustomize *ApplicationSourceKustomize `json:"kustomize,omitempty" protobuf:"bytes,8,opt,name=kustomize"`
	// Directory holds path/directory specific options
	Directory *ApplicationSourceDirectory `json:"directory,omitempty" protobuf:"bytes,10,opt,name=directory"`
	// Plugin holds config management plugin specific options
	Plugin *ApplicationSourcePlugin `json:"plugin,omitempty" protobuf:"bytes,11,opt,name=plugin"`
	// Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.
	Chart string `json:"chart,omitempty" protobuf:"bytes,12,opt,name=chart"`
}

ApplicationSource contains all required information about the source of an application

func (*ApplicationSource) AllowsConcurrentProcessing

func (a *ApplicationSource) AllowsConcurrentProcessing() bool

AllowsConcurrentProcessing returns true if given application source can be processed concurrently

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) ExplicitType

func (source *ApplicationSource) ExplicitType() (*ApplicationSourceType, error)

ExplicitType returns the type (e.g. Helm, Kustomize, etc) of the application. If either none or multiple types are defined, returns an error.

func (*ApplicationSource) IsHelm

func (a *ApplicationSource) IsHelm() bool

IsHelm returns true when the application source is of type Helm

func (*ApplicationSource) IsHelmOci

func (a *ApplicationSource) IsHelmOci() bool

IsHelmOci returns true when the application source is of type Helm OCI

func (*ApplicationSource) IsZero

func (a *ApplicationSource) IsZero() bool

IsZero returns true if the application source is considered empty

func (*ApplicationSource) Marshal

func (m *ApplicationSource) Marshal() (dAtA []byte, err error)

func (*ApplicationSource) MarshalTo

func (m *ApplicationSource) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSource) MarshalToSizedBuffer

func (m *ApplicationSource) MarshalToSizedBuffer(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

func (*ApplicationSource) XXX_DiscardUnknown

func (m *ApplicationSource) XXX_DiscardUnknown()

func (*ApplicationSource) XXX_Marshal

func (m *ApplicationSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSource) XXX_Merge

func (m *ApplicationSource) XXX_Merge(src proto.Message)

func (*ApplicationSource) XXX_Size

func (m *ApplicationSource) XXX_Size() int

func (*ApplicationSource) XXX_Unmarshal

func (m *ApplicationSource) XXX_Unmarshal(b []byte) error

type ApplicationSourceDirectory

type ApplicationSourceDirectory struct {
	// Recurse specifies whether to scan a directory recursively for manifests
	Recurse bool `json:"recurse,omitempty" protobuf:"bytes,1,opt,name=recurse"`
	// Jsonnet holds options specific to Jsonnet
	Jsonnet ApplicationSourceJsonnet `json:"jsonnet,omitempty" protobuf:"bytes,2,opt,name=jsonnet"`
	// Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
	Exclude string `json:"exclude,omitempty" protobuf:"bytes,3,opt,name=exclude"`
	// Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
	Include string `json:"include,omitempty" protobuf:"bytes,4,opt,name=include"`
}

ApplicationSourceDirectory holds options for applications of type plain YAML or Jsonnet

func (*ApplicationSourceDirectory) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSourceDirectory.

func (*ApplicationSourceDirectory) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSourceDirectory) Descriptor

func (*ApplicationSourceDirectory) Descriptor() ([]byte, []int)

func (*ApplicationSourceDirectory) IsZero

func (d *ApplicationSourceDirectory) IsZero() bool

IsZero returns true if the ApplicationSourceDirectory is considered empty

func (*ApplicationSourceDirectory) Marshal

func (m *ApplicationSourceDirectory) Marshal() (dAtA []byte, err error)

func (*ApplicationSourceDirectory) MarshalTo

func (m *ApplicationSourceDirectory) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSourceDirectory) MarshalToSizedBuffer

func (m *ApplicationSourceDirectory) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSourceDirectory) ProtoMessage

func (*ApplicationSourceDirectory) ProtoMessage()

func (*ApplicationSourceDirectory) Reset

func (m *ApplicationSourceDirectory) Reset()

func (*ApplicationSourceDirectory) Size

func (m *ApplicationSourceDirectory) Size() (n int)

func (*ApplicationSourceDirectory) String

func (this *ApplicationSourceDirectory) String() string

func (*ApplicationSourceDirectory) Unmarshal

func (m *ApplicationSourceDirectory) Unmarshal(dAtA []byte) error

func (*ApplicationSourceDirectory) XXX_DiscardUnknown

func (m *ApplicationSourceDirectory) XXX_DiscardUnknown()

func (*ApplicationSourceDirectory) XXX_Marshal

func (m *ApplicationSourceDirectory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSourceDirectory) XXX_Merge

func (m *ApplicationSourceDirectory) XXX_Merge(src proto.Message)

func (*ApplicationSourceDirectory) XXX_Size

func (m *ApplicationSourceDirectory) XXX_Size() int

func (*ApplicationSourceDirectory) XXX_Unmarshal

func (m *ApplicationSourceDirectory) XXX_Unmarshal(b []byte) error

type ApplicationSourceHelm

type ApplicationSourceHelm struct {
	// ValuesFiles is a list of Helm value files to use when generating a template
	ValueFiles []string `json:"valueFiles,omitempty" protobuf:"bytes,1,opt,name=valueFiles"`
	// Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
	Parameters []HelmParameter `json:"parameters,omitempty" protobuf:"bytes,2,opt,name=parameters"`
	// ReleaseName is the Helm release name to use. If omitted it will use the application name
	ReleaseName string `json:"releaseName,omitempty" protobuf:"bytes,3,opt,name=releaseName"`
	// Values specifies Helm values to be passed to helm template, typically defined as a block
	Values string `json:"values,omitempty" protobuf:"bytes,4,opt,name=values"`
	// FileParameters are file parameters to the helm template
	FileParameters []HelmFileParameter `json:"fileParameters,omitempty" protobuf:"bytes,5,opt,name=fileParameters"`
	// Version is the Helm version to use for templating ("3")
	Version string `json:"version,omitempty" protobuf:"bytes,6,opt,name=version"`
	// PassCredentials pass credentials to all domains (Helm's --pass-credentials)
	PassCredentials bool `json:"passCredentials,omitempty" protobuf:"bytes,7,opt,name=passCredentials"`
	// IgnoreMissingValueFiles prevents helm template from failing when valueFiles do not exist locally by not appending them to helm template --values
	IgnoreMissingValueFiles bool `json:"ignoreMissingValueFiles,omitempty" protobuf:"bytes,8,opt,name=ignoreMissingValueFiles"`
	// SkipCrds skips custom resource definition installation step (Helm's --skip-crds)
	SkipCrds bool `json:"skipCrds,omitempty" protobuf:"bytes,9,opt,name=skipCrds"`
}

ApplicationSourceHelm holds helm specific options

func (*ApplicationSourceHelm) AddFileParameter

func (in *ApplicationSourceHelm) AddFileParameter(p HelmFileParameter)

AddFileParameter adds a HelmFileParameter to the application source. If a file parameter with the same name already exists, its value will be overwritten. Otherwise, the HelmFileParameter will be appended as a new entry.

func (*ApplicationSourceHelm) AddParameter

func (in *ApplicationSourceHelm) AddParameter(p HelmParameter)

AddParameter adds a HelmParameter to the application source. If a parameter with the same name already exists, its value will be overwritten. Otherwise, the HelmParameter will be appended as a new entry.

func (*ApplicationSourceHelm) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSourceHelm.

func (*ApplicationSourceHelm) DeepCopyInto

func (in *ApplicationSourceHelm) DeepCopyInto(out *ApplicationSourceHelm)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSourceHelm) Descriptor

func (*ApplicationSourceHelm) Descriptor() ([]byte, []int)

func (*ApplicationSourceHelm) IsZero

func (h *ApplicationSourceHelm) IsZero() bool

IsZero Returns true if the Helm options in an application source are considered zero

func (*ApplicationSourceHelm) Marshal

func (m *ApplicationSourceHelm) Marshal() (dAtA []byte, err error)

func (*ApplicationSourceHelm) MarshalTo

func (m *ApplicationSourceHelm) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSourceHelm) MarshalToSizedBuffer

func (m *ApplicationSourceHelm) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSourceHelm) ProtoMessage

func (*ApplicationSourceHelm) ProtoMessage()

func (*ApplicationSourceHelm) Reset

func (m *ApplicationSourceHelm) Reset()

func (*ApplicationSourceHelm) Size

func (m *ApplicationSourceHelm) Size() (n int)

func (*ApplicationSourceHelm) String

func (this *ApplicationSourceHelm) String() string

func (*ApplicationSourceHelm) Unmarshal

func (m *ApplicationSourceHelm) Unmarshal(dAtA []byte) error

func (*ApplicationSourceHelm) XXX_DiscardUnknown

func (m *ApplicationSourceHelm) XXX_DiscardUnknown()

func (*ApplicationSourceHelm) XXX_Marshal

func (m *ApplicationSourceHelm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSourceHelm) XXX_Merge

func (m *ApplicationSourceHelm) XXX_Merge(src proto.Message)

func (*ApplicationSourceHelm) XXX_Size

func (m *ApplicationSourceHelm) XXX_Size() int

func (*ApplicationSourceHelm) XXX_Unmarshal

func (m *ApplicationSourceHelm) XXX_Unmarshal(b []byte) error

type ApplicationSourceJsonnet

type ApplicationSourceJsonnet struct {
	// ExtVars is a list of Jsonnet External Variables
	ExtVars []JsonnetVar `json:"extVars,omitempty" protobuf:"bytes,1,opt,name=extVars"`
	// TLAS is a list of Jsonnet Top-level Arguments
	TLAs []JsonnetVar `json:"tlas,omitempty" protobuf:"bytes,2,opt,name=tlas"`
	// Additional library search dirs
	Libs []string `json:"libs,omitempty" protobuf:"bytes,3,opt,name=libs"`
}

ApplicationSourceJsonnet holds options specific to applications of type Jsonnet

func (*ApplicationSourceJsonnet) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSourceJsonnet.

func (*ApplicationSourceJsonnet) DeepCopyInto

func (in *ApplicationSourceJsonnet) DeepCopyInto(out *ApplicationSourceJsonnet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSourceJsonnet) Descriptor

func (*ApplicationSourceJsonnet) Descriptor() ([]byte, []int)

func (*ApplicationSourceJsonnet) IsZero

func (j *ApplicationSourceJsonnet) IsZero() bool

IsZero returns true if the JSonnet options of an application are considered to be empty

func (*ApplicationSourceJsonnet) Marshal

func (m *ApplicationSourceJsonnet) Marshal() (dAtA []byte, err error)

func (*ApplicationSourceJsonnet) MarshalTo

func (m *ApplicationSourceJsonnet) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSourceJsonnet) MarshalToSizedBuffer

func (m *ApplicationSourceJsonnet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSourceJsonnet) ProtoMessage

func (*ApplicationSourceJsonnet) ProtoMessage()

func (*ApplicationSourceJsonnet) Reset

func (m *ApplicationSourceJsonnet) Reset()

func (*ApplicationSourceJsonnet) Size

func (m *ApplicationSourceJsonnet) Size() (n int)

func (*ApplicationSourceJsonnet) String

func (this *ApplicationSourceJsonnet) String() string

func (*ApplicationSourceJsonnet) Unmarshal

func (m *ApplicationSourceJsonnet) Unmarshal(dAtA []byte) error

func (*ApplicationSourceJsonnet) XXX_DiscardUnknown

func (m *ApplicationSourceJsonnet) XXX_DiscardUnknown()

func (*ApplicationSourceJsonnet) XXX_Marshal

func (m *ApplicationSourceJsonnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSourceJsonnet) XXX_Merge

func (m *ApplicationSourceJsonnet) XXX_Merge(src proto.Message)

func (*ApplicationSourceJsonnet) XXX_Size

func (m *ApplicationSourceJsonnet) XXX_Size() int

func (*ApplicationSourceJsonnet) XXX_Unmarshal

func (m *ApplicationSourceJsonnet) XXX_Unmarshal(b []byte) error

type ApplicationSourceKustomize

type ApplicationSourceKustomize struct {
	// NamePrefix is a prefix appended to resources for Kustomize apps
	NamePrefix string `json:"namePrefix,omitempty" protobuf:"bytes,1,opt,name=namePrefix"`
	// NameSuffix is a suffix appended to resources for Kustomize apps
	NameSuffix string `json:"nameSuffix,omitempty" protobuf:"bytes,2,opt,name=nameSuffix"`
	// Images is a list of Kustomize image override specifications
	Images KustomizeImages `json:"images,omitempty" protobuf:"bytes,3,opt,name=images"`
	// CommonLabels is a list of additional labels to add to rendered manifests
	CommonLabels map[string]string `json:"commonLabels,omitempty" protobuf:"bytes,4,opt,name=commonLabels"`
	// Version controls which version of Kustomize to use for rendering manifests
	Version string `json:"version,omitempty" protobuf:"bytes,5,opt,name=version"`
	// CommonAnnotations is a list of additional annotations to add to rendered manifests
	CommonAnnotations map[string]string `json:"commonAnnotations,omitempty" protobuf:"bytes,6,opt,name=commonAnnotations"`
	// ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps
	ForceCommonLabels bool `json:"forceCommonLabels,omitempty" protobuf:"bytes,7,opt,name=forceCommonLabels"`
	// ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps
	ForceCommonAnnotations bool `json:"forceCommonAnnotations,omitempty" protobuf:"bytes,8,opt,name=forceCommonAnnotations"`
}

ApplicationSourceKustomize holds options specific to an Application source specific to Kustomize

func (*ApplicationSourceKustomize) AllowsConcurrentProcessing

func (k *ApplicationSourceKustomize) AllowsConcurrentProcessing() bool

AllowsConcurrentProcessing returns true if multiple processes can run Kustomize builds on the same source at the same time

func (*ApplicationSourceKustomize) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSourceKustomize.

func (*ApplicationSourceKustomize) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSourceKustomize) Descriptor

func (*ApplicationSourceKustomize) Descriptor() ([]byte, []int)

func (*ApplicationSourceKustomize) IsZero

func (k *ApplicationSourceKustomize) IsZero() bool

IsZero returns true when the Kustomize options are considered empty

func (*ApplicationSourceKustomize) Marshal

func (m *ApplicationSourceKustomize) Marshal() (dAtA []byte, err error)

func (*ApplicationSourceKustomize) MarshalTo

func (m *ApplicationSourceKustomize) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSourceKustomize) MarshalToSizedBuffer

func (m *ApplicationSourceKustomize) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSourceKustomize) MergeImage

func (k *ApplicationSourceKustomize) MergeImage(image KustomizeImage)

MergeImage merges a new Kustomize image identifier in to a list of images

func (*ApplicationSourceKustomize) ProtoMessage

func (*ApplicationSourceKustomize) ProtoMessage()

func (*ApplicationSourceKustomize) Reset

func (m *ApplicationSourceKustomize) Reset()

func (*ApplicationSourceKustomize) Size

func (m *ApplicationSourceKustomize) Size() (n int)

func (*ApplicationSourceKustomize) String

func (this *ApplicationSourceKustomize) String() string

func (*ApplicationSourceKustomize) Unmarshal

func (m *ApplicationSourceKustomize) Unmarshal(dAtA []byte) error

func (*ApplicationSourceKustomize) XXX_DiscardUnknown

func (m *ApplicationSourceKustomize) XXX_DiscardUnknown()

func (*ApplicationSourceKustomize) XXX_Marshal

func (m *ApplicationSourceKustomize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSourceKustomize) XXX_Merge

func (m *ApplicationSourceKustomize) XXX_Merge(src proto.Message)

func (*ApplicationSourceKustomize) XXX_Size

func (m *ApplicationSourceKustomize) XXX_Size() int

func (*ApplicationSourceKustomize) XXX_Unmarshal

func (m *ApplicationSourceKustomize) XXX_Unmarshal(b []byte) error

type ApplicationSourcePlugin

type ApplicationSourcePlugin struct {
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	Env  `json:"env,omitempty" protobuf:"bytes,2,opt,name=env"`
}

ApplicationSourcePlugin holds options specific to config management plugins

func (*ApplicationSourcePlugin) AddEnvEntry

func (c *ApplicationSourcePlugin) AddEnvEntry(e *EnvEntry)

AddEnvEntry merges an EnvEntry into a list of entries. If an entry with the same name already exists, its value will be overwritten. Otherwise, the entry is appended to the list.

func (*ApplicationSourcePlugin) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSourcePlugin.

func (*ApplicationSourcePlugin) DeepCopyInto

func (in *ApplicationSourcePlugin) DeepCopyInto(out *ApplicationSourcePlugin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSourcePlugin) Descriptor

func (*ApplicationSourcePlugin) Descriptor() ([]byte, []int)

func (*ApplicationSourcePlugin) IsZero

func (c *ApplicationSourcePlugin) IsZero() bool

IsZero returns true if the ApplicationSourcePlugin is considered empty

func (*ApplicationSourcePlugin) Marshal

func (m *ApplicationSourcePlugin) Marshal() (dAtA []byte, err error)

func (*ApplicationSourcePlugin) MarshalTo

func (m *ApplicationSourcePlugin) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSourcePlugin) MarshalToSizedBuffer

func (m *ApplicationSourcePlugin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSourcePlugin) ProtoMessage

func (*ApplicationSourcePlugin) ProtoMessage()

func (*ApplicationSourcePlugin) RemoveEnvEntry

func (c *ApplicationSourcePlugin) RemoveEnvEntry(key string) error

RemoveEnvEntry removes an EnvEntry if present, from a list of entries.

func (*ApplicationSourcePlugin) Reset

func (m *ApplicationSourcePlugin) Reset()

func (*ApplicationSourcePlugin) Size

func (m *ApplicationSourcePlugin) Size() (n int)

func (*ApplicationSourcePlugin) String

func (this *ApplicationSourcePlugin) String() string

func (*ApplicationSourcePlugin) Unmarshal

func (m *ApplicationSourcePlugin) Unmarshal(dAtA []byte) error

func (*ApplicationSourcePlugin) XXX_DiscardUnknown

func (m *ApplicationSourcePlugin) XXX_DiscardUnknown()

func (*ApplicationSourcePlugin) XXX_Marshal

func (m *ApplicationSourcePlugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSourcePlugin) XXX_Merge

func (m *ApplicationSourcePlugin) XXX_Merge(src proto.Message)

func (*ApplicationSourcePlugin) XXX_Size

func (m *ApplicationSourcePlugin) XXX_Size() int

func (*ApplicationSourcePlugin) XXX_Unmarshal

func (m *ApplicationSourcePlugin) XXX_Unmarshal(b []byte) error

type ApplicationSourceType

type ApplicationSourceType string

ApplicationSourceType specifies the type of the application's source

const (
	ApplicationSourceTypeHelm      ApplicationSourceType = "Helm"
	ApplicationSourceTypeKustomize ApplicationSourceType = "Kustomize"
	ApplicationSourceTypeDirectory ApplicationSourceType = "Directory"
	ApplicationSourceTypePlugin    ApplicationSourceType = "Plugin"
)

type ApplicationSpec

type ApplicationSpec struct {
	// Source is a reference to the location of the application's manifests or chart
	Source ApplicationSource `json:"source" protobuf:"bytes,1,opt,name=source"`
	// Destination is a reference to the target Kubernetes server and namespace
	Destination ApplicationDestination `json:"destination" protobuf:"bytes,2,name=destination"`
	// Project is a reference to the project this application belongs to.
	// The empty string means that application belongs to the 'default' project.
	Project string `json:"project" protobuf:"bytes,3,name=project"`
	// SyncPolicy controls when and how a sync will be performed
	SyncPolicy *SyncPolicy `json:"syncPolicy,omitempty" protobuf:"bytes,4,name=syncPolicy"`
	// IgnoreDifferences is a list of resources and their fields which should be ignored during comparison
	IgnoreDifferences []ResourceIgnoreDifferences `json:"ignoreDifferences,omitempty" protobuf:"bytes,5,name=ignoreDifferences"`
	// Info contains a list of information (URLs, email addresses, and plain text) that relates to the application
	Info []Info `json:"info,omitempty" protobuf:"bytes,6,name=info"`
	// RevisionHistoryLimit limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions.
	// This should only be changed in exceptional circumstances.
	// Setting to zero will store no history. This will reduce storage used.
	// Increasing will increase the space used to store the history, so we do not recommend increasing it.
	// Default is 10.
	RevisionHistoryLimit *int64 `json:"revisionHistoryLimit,omitempty" protobuf:"bytes,7,name=revisionHistoryLimit"`
}

ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision.

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

func (spec ApplicationSpec) GetProject() string

GetProject returns the application's project. This is preferred over spec.Project which may be empty

func (ApplicationSpec) GetRevisionHistoryLimit

func (spec ApplicationSpec) GetRevisionHistoryLimit() int

GetRevisionHistoryLimit returns the currently set revision history limit for an application

func (*ApplicationSpec) Marshal

func (m *ApplicationSpec) Marshal() (dAtA []byte, err error)

func (*ApplicationSpec) MarshalTo

func (m *ApplicationSpec) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSpec) MarshalToSizedBuffer

func (m *ApplicationSpec) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*ApplicationSpec) XXX_DiscardUnknown

func (m *ApplicationSpec) XXX_DiscardUnknown()

func (*ApplicationSpec) XXX_Marshal

func (m *ApplicationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSpec) XXX_Merge

func (m *ApplicationSpec) XXX_Merge(src proto.Message)

func (*ApplicationSpec) XXX_Size

func (m *ApplicationSpec) XXX_Size() int

func (*ApplicationSpec) XXX_Unmarshal

func (m *ApplicationSpec) XXX_Unmarshal(b []byte) error

type ApplicationStatus

type ApplicationStatus struct {
	// Resources is a list of Kubernetes resources managed by this application
	Resources []ResourceStatus `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"`
	// Sync contains information about the application's current sync status
	Sync SyncStatus `json:"sync,omitempty" protobuf:"bytes,2,opt,name=sync"`
	// Health contains information about the application's current health status
	Health HealthStatus `json:"health,omitempty" protobuf:"bytes,3,opt,name=health"`
	// History contains information about the application's sync history
	History RevisionHistories `json:"history,omitempty" protobuf:"bytes,4,opt,name=history"`
	// Conditions is a list of currently observed application conditions
	Conditions []ApplicationCondition `json:"conditions,omitempty" protobuf:"bytes,5,opt,name=conditions"`
	// ReconciledAt indicates when the application state was reconciled using the latest git version
	ReconciledAt *metav1.Time `json:"reconciledAt,omitempty" protobuf:"bytes,6,opt,name=reconciledAt"`
	// OperationState contains information about any ongoing operations, such as a sync
	OperationState *OperationState `json:"operationState,omitempty" protobuf:"bytes,7,opt,name=operationState"`
	// ObservedAt indicates when the application state was updated without querying latest git state
	// Deprecated: controller no longer updates ObservedAt field
	ObservedAt *metav1.Time `json:"observedAt,omitempty" protobuf:"bytes,8,opt,name=observedAt"`
	// SourceType specifies the type of this application
	SourceType ApplicationSourceType `json:"sourceType,omitempty" protobuf:"bytes,9,opt,name=sourceType"`
	// Summary contains a list of URLs and container images used by this application
	Summary ApplicationSummary `json:"summary,omitempty" protobuf:"bytes,10,opt,name=summary"`
	// ResourceHealthSource indicates where the resource health status is stored: inline if not set or appTree
	ResourceHealthSource ResourceHealthLocation `json:"resourceHealthSource,omitempty" protobuf:"bytes,11,opt,name=resourceHealthSource"`
}

ApplicationStatus contains status information for the application

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) Expired

func (status *ApplicationStatus) Expired(statusRefreshTimeout time.Duration) bool

Expired returns true if the application needs to be reconciled

func (*ApplicationStatus) GetConditions

func (status *ApplicationStatus) GetConditions(conditionTypes map[ApplicationConditionType]bool) []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) MarshalToSizedBuffer

func (m *ApplicationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationStatus) ProtoMessage

func (*ApplicationStatus) ProtoMessage()

func (*ApplicationStatus) Reset

func (m *ApplicationStatus) Reset()

func (*ApplicationStatus) SetConditions

func (status *ApplicationStatus) SetConditions(conditions []ApplicationCondition, evaluatedTypes map[ApplicationConditionType]bool)

SetConditions updates the application status conditions for a subset of evaluated types. If the application has a pre-existing condition of a type that is not in the evaluated list, it will be preserved. If the application has a pre-existing condition of a type that is in the evaluated list, but not in the incoming conditions list, it will be removed.

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

func (*ApplicationStatus) XXX_DiscardUnknown

func (m *ApplicationStatus) XXX_DiscardUnknown()

func (*ApplicationStatus) XXX_Marshal

func (m *ApplicationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationStatus) XXX_Merge

func (m *ApplicationStatus) XXX_Merge(src proto.Message)

func (*ApplicationStatus) XXX_Size

func (m *ApplicationStatus) XXX_Size() int

func (*ApplicationStatus) XXX_Unmarshal

func (m *ApplicationStatus) XXX_Unmarshal(b []byte) error

type ApplicationSummary

type ApplicationSummary struct {
	// ExternalURLs holds all external URLs of application child resources.
	ExternalURLs []string `json:"externalURLs,omitempty" protobuf:"bytes,1,opt,name=externalURLs"`
	// Images holds all images of application child resources.
	Images []string `json:"images,omitempty" protobuf:"bytes,2,opt,name=images"`
}

ApplicationSummary contains information about URLs and container images used by an application

func (*ApplicationSummary) DeepCopy

func (in *ApplicationSummary) DeepCopy() *ApplicationSummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSummary.

func (*ApplicationSummary) DeepCopyInto

func (in *ApplicationSummary) DeepCopyInto(out *ApplicationSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationSummary) Descriptor

func (*ApplicationSummary) Descriptor() ([]byte, []int)

func (*ApplicationSummary) Marshal

func (m *ApplicationSummary) Marshal() (dAtA []byte, err error)

func (*ApplicationSummary) MarshalTo

func (m *ApplicationSummary) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationSummary) MarshalToSizedBuffer

func (m *ApplicationSummary) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationSummary) ProtoMessage

func (*ApplicationSummary) ProtoMessage()

func (*ApplicationSummary) Reset

func (m *ApplicationSummary) Reset()

func (*ApplicationSummary) Size

func (m *ApplicationSummary) Size() (n int)

func (*ApplicationSummary) String

func (this *ApplicationSummary) String() string

func (*ApplicationSummary) Unmarshal

func (m *ApplicationSummary) Unmarshal(dAtA []byte) error

func (*ApplicationSummary) XXX_DiscardUnknown

func (m *ApplicationSummary) XXX_DiscardUnknown()

func (*ApplicationSummary) XXX_Marshal

func (m *ApplicationSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationSummary) XXX_Merge

func (m *ApplicationSummary) XXX_Merge(src proto.Message)

func (*ApplicationSummary) XXX_Size

func (m *ApplicationSummary) XXX_Size() int

func (*ApplicationSummary) XXX_Unmarshal

func (m *ApplicationSummary) XXX_Unmarshal(b []byte) error

type ApplicationTree

type ApplicationTree struct {
	// Nodes contains list of nodes which either directly managed by the application and children of directly managed nodes.
	Nodes []ResourceNode `json:"nodes,omitempty" protobuf:"bytes,1,rep,name=nodes"`
	// OrphanedNodes contains if or orphaned nodes: nodes which are not managed by the app but in the same namespace. List is populated only if orphaned resources enabled in app project.
	OrphanedNodes []ResourceNode `json:"orphanedNodes,omitempty" protobuf:"bytes,2,rep,name=orphanedNodes"`
	// Hosts holds list of Kubernetes nodes that run application related pods
	Hosts []HostInfo `json:"hosts,omitempty" protobuf:"bytes,3,rep,name=hosts"`
}

ApplicationTree holds nodes which belongs to the application TODO: describe purpose of this type

func (*ApplicationTree) DeepCopy

func (in *ApplicationTree) DeepCopy() *ApplicationTree

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationTree.

func (*ApplicationTree) DeepCopyInto

func (in *ApplicationTree) DeepCopyInto(out *ApplicationTree)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ApplicationTree) Descriptor

func (*ApplicationTree) Descriptor() ([]byte, []int)

func (*ApplicationTree) FindNode

func (t *ApplicationTree) FindNode(group string, kind string, namespace string, name string) *ResourceNode

TODO: Document purpose of this method

func (*ApplicationTree) GetSummary

func (t *ApplicationTree) GetSummary() ApplicationSummary

TODO: Document purpose of this method

func (*ApplicationTree) Marshal

func (m *ApplicationTree) Marshal() (dAtA []byte, err error)

func (*ApplicationTree) MarshalTo

func (m *ApplicationTree) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationTree) MarshalToSizedBuffer

func (m *ApplicationTree) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationTree) Normalize

func (t *ApplicationTree) Normalize()

Normalize sorts application tree nodes and hosts. The persistent order allows to effectively compare previously cached app tree and allows to unnecessary Redis requests.

func (*ApplicationTree) ProtoMessage

func (*ApplicationTree) ProtoMessage()

func (*ApplicationTree) Reset

func (m *ApplicationTree) Reset()

func (*ApplicationTree) Size

func (m *ApplicationTree) Size() (n int)

func (*ApplicationTree) String

func (this *ApplicationTree) String() string

func (*ApplicationTree) Unmarshal

func (m *ApplicationTree) Unmarshal(dAtA []byte) error

func (*ApplicationTree) XXX_DiscardUnknown

func (m *ApplicationTree) XXX_DiscardUnknown()

func (*ApplicationTree) XXX_Marshal

func (m *ApplicationTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationTree) XXX_Merge

func (m *ApplicationTree) XXX_Merge(src proto.Message)

func (*ApplicationTree) XXX_Size

func (m *ApplicationTree) XXX_Size() int

func (*ApplicationTree) XXX_Unmarshal

func (m *ApplicationTree) XXX_Unmarshal(b []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

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) MarshalToSizedBuffer

func (m *ApplicationWatchEvent) MarshalToSizedBuffer(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

func (*ApplicationWatchEvent) XXX_DiscardUnknown

func (m *ApplicationWatchEvent) XXX_DiscardUnknown()

func (*ApplicationWatchEvent) XXX_Marshal

func (m *ApplicationWatchEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationWatchEvent) XXX_Merge

func (m *ApplicationWatchEvent) XXX_Merge(src proto.Message)

func (*ApplicationWatchEvent) XXX_Size

func (m *ApplicationWatchEvent) XXX_Size() int

func (*ApplicationWatchEvent) XXX_Unmarshal

func (m *ApplicationWatchEvent) XXX_Unmarshal(b []byte) error

type Backoff

type Backoff struct {
	// Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h")
	Duration string `json:"duration,omitempty" protobuf:"bytes,1,opt,name=duration"`
	// Factor is a factor to multiply the base duration after each failed retry
	Factor *int64 `json:"factor,omitempty" protobuf:"bytes,2,name=factor"`
	// MaxDuration is the maximum amount of time allowed for the backoff strategy
	MaxDuration string `json:"maxDuration,omitempty" protobuf:"bytes,3,opt,name=maxDuration"`
}

Backoff is the backoff strategy to use on subsequent retries for failing syncs

func (*Backoff) DeepCopy

func (in *Backoff) DeepCopy() *Backoff

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backoff.

func (*Backoff) DeepCopyInto

func (in *Backoff) DeepCopyInto(out *Backoff)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Backoff) Descriptor

func (*Backoff) Descriptor() ([]byte, []int)

func (*Backoff) Marshal

func (m *Backoff) Marshal() (dAtA []byte, err error)

func (*Backoff) MarshalTo

func (m *Backoff) MarshalTo(dAtA []byte) (int, error)

func (*Backoff) MarshalToSizedBuffer

func (m *Backoff) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Backoff) ProtoMessage

func (*Backoff) ProtoMessage()

func (*Backoff) Reset

func (m *Backoff) Reset()

func (*Backoff) Size

func (m *Backoff) Size() (n int)

func (*Backoff) String

func (this *Backoff) String() string

func (*Backoff) Unmarshal

func (m *Backoff) Unmarshal(dAtA []byte) error

func (*Backoff) XXX_DiscardUnknown

func (m *Backoff) XXX_DiscardUnknown()

func (*Backoff) XXX_Marshal

func (m *Backoff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backoff) XXX_Merge

func (m *Backoff) XXX_Merge(src proto.Message)

func (*Backoff) XXX_Size

func (m *Backoff) XXX_Size() int

func (*Backoff) XXX_Unmarshal

func (m *Backoff) XXX_Unmarshal(b []byte) error

type BasicAuthBitbucketServer added in v2.5.0

type BasicAuthBitbucketServer struct {
	// Username for Basic auth
	Username string `json:"username" protobuf:"bytes,1,opt,name=username"`
	// Password (or personal access token) reference.
	PasswordRef *SecretRef `json:"passwordRef" protobuf:"bytes,2,opt,name=passwordRef"`
}

BasicAuthBitbucketServer defines the username/(password or personal access token) for Basic auth.

func (*BasicAuthBitbucketServer) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthBitbucketServer.

func (*BasicAuthBitbucketServer) DeepCopyInto added in v2.5.0

func (in *BasicAuthBitbucketServer) DeepCopyInto(out *BasicAuthBitbucketServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BasicAuthBitbucketServer) Descriptor added in v2.5.0

func (*BasicAuthBitbucketServer) Descriptor() ([]byte, []int)

func (*BasicAuthBitbucketServer) Marshal added in v2.5.0

func (m *BasicAuthBitbucketServer) Marshal() (dAtA []byte, err error)

func (*BasicAuthBitbucketServer) MarshalTo added in v2.5.0

func (m *BasicAuthBitbucketServer) MarshalTo(dAtA []byte) (int, error)

func (*BasicAuthBitbucketServer) MarshalToSizedBuffer added in v2.5.0

func (m *BasicAuthBitbucketServer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicAuthBitbucketServer) ProtoMessage added in v2.5.0

func (*BasicAuthBitbucketServer) ProtoMessage()

func (*BasicAuthBitbucketServer) Reset added in v2.5.0

func (m *BasicAuthBitbucketServer) Reset()

func (*BasicAuthBitbucketServer) Size added in v2.5.0

func (m *BasicAuthBitbucketServer) Size() (n int)

func (*BasicAuthBitbucketServer) String added in v2.5.0

func (this *BasicAuthBitbucketServer) String() string

func (*BasicAuthBitbucketServer) Unmarshal added in v2.5.0

func (m *BasicAuthBitbucketServer) Unmarshal(dAtA []byte) error

func (*BasicAuthBitbucketServer) XXX_DiscardUnknown added in v2.5.0

func (m *BasicAuthBitbucketServer) XXX_DiscardUnknown()

func (*BasicAuthBitbucketServer) XXX_Marshal added in v2.5.0

func (m *BasicAuthBitbucketServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicAuthBitbucketServer) XXX_Merge added in v2.5.0

func (m *BasicAuthBitbucketServer) XXX_Merge(src proto.Message)

func (*BasicAuthBitbucketServer) XXX_Size added in v2.5.0

func (m *BasicAuthBitbucketServer) XXX_Size() int

func (*BasicAuthBitbucketServer) XXX_Unmarshal added in v2.5.0

func (m *BasicAuthBitbucketServer) XXX_Unmarshal(b []byte) error

type Cluster

type Cluster struct {
	// ID is an internal field cluster identifier. Not exposed via API.
	ID string `json:"-"`
	// 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"`
	// DEPRECATED: use Info.ConnectionState field instead.
	// ConnectionState contains information about cluster connection state
	ConnectionState ConnectionState `json:"connectionState,omitempty" protobuf:"bytes,4,opt,name=connectionState"`
	// DEPRECATED: use Info.ServerVersion field instead.
	// The server version
	ServerVersion string `json:"serverVersion,omitempty" protobuf:"bytes,5,opt,name=serverVersion"`
	// Holds list of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
	Namespaces []string `json:"namespaces,omitempty" protobuf:"bytes,6,opt,name=namespaces"`
	// RefreshRequestedAt holds time when cluster cache refresh has been requested
	RefreshRequestedAt *metav1.Time `json:"refreshRequestedAt,omitempty" protobuf:"bytes,7,opt,name=refreshRequestedAt"`
	// Info holds information about cluster cache and state
	Info ClusterInfo `json:"info,omitempty" protobuf:"bytes,8,opt,name=info"`
	// Shard contains optional shard number. Calculated on the fly by the application controller if not specified.
	Shard *int64 `json:"shard,omitempty" protobuf:"bytes,9,opt,name=shard"`
	// Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
	ClusterResources bool `json:"clusterResources,omitempty" protobuf:"bytes,10,opt,name=clusterResources"`
	// Reference between project and cluster that allow you automatically to be added as item inside Destinations project entity
	Project string `json:"project,omitempty" protobuf:"bytes,11,opt,name=project"`
	// Labels for cluster secret metadata
	Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,12,opt,name=labels"`
	// Annotations for cluster secret metadata
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,13,opt,name=annotations"`
}

Cluster is the definition of a cluster resource

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Cluster) Descriptor

func (*Cluster) Descriptor() ([]byte, []int)

func (*Cluster) Equals

func (c *Cluster) Equals(other *Cluster) bool

Equals returns true if two cluster objects are considered to be equal

func (*Cluster) Marshal

func (m *Cluster) Marshal() (dAtA []byte, err error)

func (*Cluster) MarshalTo

func (m *Cluster) MarshalTo(dAtA []byte) (int, error)

func (*Cluster) MarshalToSizedBuffer

func (m *Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) RESTConfig

func (c *Cluster) RESTConfig() *rest.Config

RESTConfig returns a go-client REST config from cluster with tuned throttling and HTTP client settings.

func (*Cluster) RawRestConfig

func (c *Cluster) RawRestConfig() *rest.Config

RawRestConfig returns a go-client REST config from cluster that might be serialized into the file using kube.WriteKubeConfig method.

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) Size

func (m *Cluster) Size() (n int)

func (*Cluster) String

func (this *Cluster) String() string

func (*Cluster) Unmarshal

func (m *Cluster) Unmarshal(dAtA []byte) error

func (*Cluster) XXX_DiscardUnknown

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal

func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cluster) XXX_Merge

func (m *Cluster) XXX_Merge(src proto.Message)

func (*Cluster) XXX_Size

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal

func (m *Cluster) XXX_Unmarshal(b []byte) error

type ClusterCacheInfo

type ClusterCacheInfo struct {
	// ResourcesCount holds number of observed Kubernetes resources
	ResourcesCount int64 `json:"resourcesCount,omitempty" protobuf:"bytes,1,opt,name=resourcesCount"`
	// APIsCount holds number of observed Kubernetes API count
	APIsCount int64 `json:"apisCount,omitempty" protobuf:"bytes,2,opt,name=apisCount"`
	// LastCacheSyncTime holds time of most recent cache synchronization
	LastCacheSyncTime *metav1.Time `json:"lastCacheSyncTime,omitempty" protobuf:"bytes,3,opt,name=lastCacheSyncTime"`
}

ClusterCacheInfo contains information about the cluster cache

func (*ClusterCacheInfo) DeepCopy

func (in *ClusterCacheInfo) DeepCopy() *ClusterCacheInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCacheInfo.

func (*ClusterCacheInfo) DeepCopyInto

func (in *ClusterCacheInfo) DeepCopyInto(out *ClusterCacheInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterCacheInfo) Descriptor

func (*ClusterCacheInfo) Descriptor() ([]byte, []int)

func (*ClusterCacheInfo) Marshal

func (m *ClusterCacheInfo) Marshal() (dAtA []byte, err error)

func (*ClusterCacheInfo) MarshalTo

func (m *ClusterCacheInfo) MarshalTo(dAtA []byte) (int, error)

func (*ClusterCacheInfo) MarshalToSizedBuffer

func (m *ClusterCacheInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterCacheInfo) ProtoMessage

func (*ClusterCacheInfo) ProtoMessage()

func (*ClusterCacheInfo) Reset

func (m *ClusterCacheInfo) Reset()

func (*ClusterCacheInfo) Size

func (m *ClusterCacheInfo) Size() (n int)

func (*ClusterCacheInfo) String

func (this *ClusterCacheInfo) String() string

func (*ClusterCacheInfo) Unmarshal

func (m *ClusterCacheInfo) Unmarshal(dAtA []byte) error

func (*ClusterCacheInfo) XXX_DiscardUnknown

func (m *ClusterCacheInfo) XXX_DiscardUnknown()

func (*ClusterCacheInfo) XXX_Marshal

func (m *ClusterCacheInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterCacheInfo) XXX_Merge

func (m *ClusterCacheInfo) XXX_Merge(src proto.Message)

func (*ClusterCacheInfo) XXX_Size

func (m *ClusterCacheInfo) XXX_Size() int

func (*ClusterCacheInfo) XXX_Unmarshal

func (m *ClusterCacheInfo) XXX_Unmarshal(b []byte) error

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"`

	// AWSAuthConfig contains IAM authentication configuration
	AWSAuthConfig *AWSAuthConfig `json:"awsAuthConfig,omitempty" protobuf:"bytes,5,opt,name=awsAuthConfig"`

	// ExecProviderConfig contains configuration for an exec provider
	ExecProviderConfig *ExecProviderConfig `json:"execProviderConfig,omitempty" protobuf:"bytes,6,opt,name=execProviderConfig"`
}

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) MarshalTo

func (m *ClusterConfig) MarshalTo(dAtA []byte) (int, error)

func (*ClusterConfig) MarshalToSizedBuffer

func (m *ClusterConfig) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*ClusterConfig) XXX_DiscardUnknown

func (m *ClusterConfig) XXX_DiscardUnknown()

func (*ClusterConfig) XXX_Marshal

func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterConfig) XXX_Merge

func (m *ClusterConfig) XXX_Merge(src proto.Message)

func (*ClusterConfig) XXX_Size

func (m *ClusterConfig) XXX_Size() int

func (*ClusterConfig) XXX_Unmarshal

func (m *ClusterConfig) XXX_Unmarshal(b []byte) error

type ClusterGenerator added in v2.5.0

type ClusterGenerator struct {
	// Selector defines a label selector to match against all clusters registered with ArgoCD.
	// Clusters today are stored as Kubernetes Secrets, thus the Secret labels will be used
	// for matching the selector.
	Selector metav1.LabelSelector   `json:"selector,omitempty" protobuf:"bytes,1,name=selector"`
	Template ApplicationSetTemplate `json:"template,omitempty" protobuf:"bytes,2,name=template"`

	// Values contains key/value pairs which are passed directly as parameters to the template
	Values map[string]string `json:"values,omitempty" protobuf:"bytes,3,name=values"`
}

ClusterGenerator defines a generator to match against clusters registered with ArgoCD.

func (*ClusterGenerator) DeepCopy added in v2.5.0

func (in *ClusterGenerator) DeepCopy() *ClusterGenerator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGenerator.

func (*ClusterGenerator) DeepCopyInto added in v2.5.0

func (in *ClusterGenerator) DeepCopyInto(out *ClusterGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterGenerator) Descriptor added in v2.5.0

func (*ClusterGenerator) Descriptor() ([]byte, []int)

func (*ClusterGenerator) Marshal added in v2.5.0

func (m *ClusterGenerator) Marshal() (dAtA []byte, err error)

func (*ClusterGenerator) MarshalTo added in v2.5.0

func (m *ClusterGenerator) MarshalTo(dAtA []byte) (int, error)

func (*ClusterGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *ClusterGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterGenerator) ProtoMessage added in v2.5.0

func (*ClusterGenerator) ProtoMessage()

func (*ClusterGenerator) Reset added in v2.5.0

func (m *ClusterGenerator) Reset()

func (*ClusterGenerator) Size added in v2.5.0

func (m *ClusterGenerator) Size() (n int)

func (*ClusterGenerator) String added in v2.5.0

func (this *ClusterGenerator) String() string

func (*ClusterGenerator) Unmarshal added in v2.5.0

func (m *ClusterGenerator) Unmarshal(dAtA []byte) error

func (*ClusterGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *ClusterGenerator) XXX_DiscardUnknown()

func (*ClusterGenerator) XXX_Marshal added in v2.5.0

func (m *ClusterGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterGenerator) XXX_Merge added in v2.5.0

func (m *ClusterGenerator) XXX_Merge(src proto.Message)

func (*ClusterGenerator) XXX_Size added in v2.5.0

func (m *ClusterGenerator) XXX_Size() int

func (*ClusterGenerator) XXX_Unmarshal added in v2.5.0

func (m *ClusterGenerator) XXX_Unmarshal(b []byte) error

type ClusterInfo

type ClusterInfo struct {
	// ConnectionState contains information about the connection to the cluster
	ConnectionState ConnectionState `json:"connectionState,omitempty" protobuf:"bytes,1,opt,name=connectionState"`
	// ServerVersion contains information about the Kubernetes version of the cluster
	ServerVersion string `json:"serverVersion,omitempty" protobuf:"bytes,2,opt,name=serverVersion"`
	// CacheInfo contains information about the cluster cache
	CacheInfo ClusterCacheInfo `json:"cacheInfo,omitempty" protobuf:"bytes,3,opt,name=cacheInfo"`
	// ApplicationsCount is the number of applications managed by Argo CD on the cluster
	ApplicationsCount int64 `json:"applicationsCount" protobuf:"bytes,4,opt,name=applicationsCount"`
	// APIVersions contains list of API versions supported by the cluster
	APIVersions []string `json:"apiVersions,omitempty" protobuf:"bytes,5,opt,name=apiVersions"`
}

ClusterInfo contains information about the cluster

func (*ClusterInfo) DeepCopy

func (in *ClusterInfo) DeepCopy() *ClusterInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInfo.

func (*ClusterInfo) DeepCopyInto

func (in *ClusterInfo) DeepCopyInto(out *ClusterInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterInfo) Descriptor

func (*ClusterInfo) Descriptor() ([]byte, []int)

func (*ClusterInfo) GetApiVersions added in v2.1.0

func (c *ClusterInfo) GetApiVersions() []string

func (*ClusterInfo) GetKubeVersion added in v2.1.0

func (c *ClusterInfo) GetKubeVersion() string

func (*ClusterInfo) Marshal

func (m *ClusterInfo) Marshal() (dAtA []byte, err error)

func (*ClusterInfo) MarshalTo

func (m *ClusterInfo) MarshalTo(dAtA []byte) (int, error)

func (*ClusterInfo) MarshalToSizedBuffer

func (m *ClusterInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterInfo) ProtoMessage

func (*ClusterInfo) ProtoMessage()

func (*ClusterInfo) Reset

func (m *ClusterInfo) Reset()

func (*ClusterInfo) Size

func (m *ClusterInfo) Size() (n int)

func (*ClusterInfo) String

func (this *ClusterInfo) String() string

func (*ClusterInfo) Unmarshal

func (m *ClusterInfo) Unmarshal(dAtA []byte) error

func (*ClusterInfo) XXX_DiscardUnknown

func (m *ClusterInfo) XXX_DiscardUnknown()

func (*ClusterInfo) XXX_Marshal

func (m *ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterInfo) XXX_Merge

func (m *ClusterInfo) XXX_Merge(src proto.Message)

func (*ClusterInfo) XXX_Size

func (m *ClusterInfo) XXX_Size() int

func (*ClusterInfo) XXX_Unmarshal

func (m *ClusterInfo) XXX_Unmarshal(b []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) MarshalTo

func (m *ClusterList) MarshalTo(dAtA []byte) (int, error)

func (*ClusterList) MarshalToSizedBuffer

func (m *ClusterList) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*ClusterList) XXX_DiscardUnknown

func (m *ClusterList) XXX_DiscardUnknown()

func (*ClusterList) XXX_Marshal

func (m *ClusterList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterList) XXX_Merge

func (m *ClusterList) XXX_Merge(src proto.Message)

func (*ClusterList) XXX_Size

func (m *ClusterList) XXX_Size() int

func (*ClusterList) XXX_Unmarshal

func (m *ClusterList) XXX_Unmarshal(b []byte) error

type Command

type Command struct {
	Command []string `json:"command,omitempty" protobuf:"bytes,1,name=command"`
	Args    []string `json:"args,omitempty" protobuf:"bytes,2,rep,name=args"`
}

Command holds binary path and arguments list

func (*Command) DeepCopy

func (in *Command) DeepCopy() *Command

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Command.

func (*Command) DeepCopyInto

func (in *Command) DeepCopyInto(out *Command)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Command) Descriptor

func (*Command) Descriptor() ([]byte, []int)

func (*Command) Marshal

func (m *Command) Marshal() (dAtA []byte, err error)

func (*Command) MarshalTo

func (m *Command) MarshalTo(dAtA []byte) (int, error)

func (*Command) MarshalToSizedBuffer

func (m *Command) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) Size

func (m *Command) Size() (n int)

func (*Command) String

func (this *Command) String() string

func (*Command) Unmarshal

func (m *Command) Unmarshal(dAtA []byte) error

func (*Command) XXX_DiscardUnknown

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal

func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Command) XXX_Merge

func (m *Command) XXX_Merge(src proto.Message)

func (*Command) XXX_Size

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal

func (m *Command) XXX_Unmarshal(b []byte) error

type ComparedTo

type ComparedTo struct {
	// Source is a reference to the application's source used for comparison
	Source ApplicationSource `json:"source" protobuf:"bytes,1,opt,name=source"`
	// Destination is a reference to the application's destination used for comparison
	Destination ApplicationDestination `json:"destination" protobuf:"bytes,2,opt,name=destination"`
}

ComparedTo contains application source and target which was used for resources comparison

func (*ComparedTo) DeepCopy

func (in *ComparedTo) DeepCopy() *ComparedTo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComparedTo.

func (*ComparedTo) DeepCopyInto

func (in *ComparedTo) DeepCopyInto(out *ComparedTo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComparedTo) Descriptor

func (*ComparedTo) Descriptor() ([]byte, []int)

func (*ComparedTo) Marshal

func (m *ComparedTo) Marshal() (dAtA []byte, err error)

func (*ComparedTo) MarshalTo

func (m *ComparedTo) MarshalTo(dAtA []byte) (int, error)

func (*ComparedTo) MarshalToSizedBuffer

func (m *ComparedTo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ComparedTo) ProtoMessage

func (*ComparedTo) ProtoMessage()

func (*ComparedTo) Reset

func (m *ComparedTo) Reset()

func (*ComparedTo) Size

func (m *ComparedTo) Size() (n int)

func (*ComparedTo) String

func (this *ComparedTo) String() string

func (*ComparedTo) Unmarshal

func (m *ComparedTo) Unmarshal(dAtA []byte) error

func (*ComparedTo) XXX_DiscardUnknown

func (m *ComparedTo) XXX_DiscardUnknown()

func (*ComparedTo) XXX_Marshal

func (m *ComparedTo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComparedTo) XXX_Merge

func (m *ComparedTo) XXX_Merge(src proto.Message)

func (*ComparedTo) XXX_Size

func (m *ComparedTo) XXX_Size() int

func (*ComparedTo) XXX_Unmarshal

func (m *ComparedTo) XXX_Unmarshal(b []byte) error

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) MarshalToSizedBuffer

func (m *ComponentParameter) MarshalToSizedBuffer(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

func (*ComponentParameter) XXX_DiscardUnknown

func (m *ComponentParameter) XXX_DiscardUnknown()

func (*ComponentParameter) XXX_Marshal

func (m *ComponentParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComponentParameter) XXX_Merge

func (m *ComponentParameter) XXX_Merge(src proto.Message)

func (*ComponentParameter) XXX_Size

func (m *ComponentParameter) XXX_Size() int

func (*ComponentParameter) XXX_Unmarshal

func (m *ComponentParameter) XXX_Unmarshal(b []byte) error

type ConfigManagementPlugin

type ConfigManagementPlugin struct {
	Name     string   `json:"name" protobuf:"bytes,1,name=name"`
	Init     *Command `json:"init,omitempty" protobuf:"bytes,2,name=init"`
	Generate Command  `json:"generate" protobuf:"bytes,3,name=generate"`
	LockRepo bool     `json:"lockRepo,omitempty" protobuf:"bytes,4,name=lockRepo"`
}

ConfigManagementPlugin contains config management plugin configuration

func (*ConfigManagementPlugin) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigManagementPlugin.

func (*ConfigManagementPlugin) DeepCopyInto

func (in *ConfigManagementPlugin) DeepCopyInto(out *ConfigManagementPlugin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigManagementPlugin) Descriptor

func (*ConfigManagementPlugin) Descriptor() ([]byte, []int)

func (*ConfigManagementPlugin) Marshal

func (m *ConfigManagementPlugin) Marshal() (dAtA []byte, err error)

func (*ConfigManagementPlugin) MarshalTo

func (m *ConfigManagementPlugin) MarshalTo(dAtA []byte) (int, error)

func (*ConfigManagementPlugin) MarshalToSizedBuffer

func (m *ConfigManagementPlugin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigManagementPlugin) ProtoMessage

func (*ConfigManagementPlugin) ProtoMessage()

func (*ConfigManagementPlugin) Reset

func (m *ConfigManagementPlugin) Reset()

func (*ConfigManagementPlugin) Size

func (m *ConfigManagementPlugin) Size() (n int)

func (*ConfigManagementPlugin) String

func (this *ConfigManagementPlugin) String() string

func (*ConfigManagementPlugin) Unmarshal

func (m *ConfigManagementPlugin) Unmarshal(dAtA []byte) error

func (*ConfigManagementPlugin) XXX_DiscardUnknown

func (m *ConfigManagementPlugin) XXX_DiscardUnknown()

func (*ConfigManagementPlugin) XXX_Marshal

func (m *ConfigManagementPlugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigManagementPlugin) XXX_Merge

func (m *ConfigManagementPlugin) XXX_Merge(src proto.Message)

func (*ConfigManagementPlugin) XXX_Size

func (m *ConfigManagementPlugin) XXX_Size() int

func (*ConfigManagementPlugin) XXX_Unmarshal

func (m *ConfigManagementPlugin) XXX_Unmarshal(b []byte) error

type ConnectionState

type ConnectionState struct {
	// Status contains the current status indicator for the connection
	Status ConnectionStatus `json:"status" protobuf:"bytes,1,opt,name=status"`
	// Message contains human readable information about the connection status
	Message string `json:"message" protobuf:"bytes,2,opt,name=message"`
	// ModifiedAt contains the timestamp when this connection status has been determined
	ModifiedAt *metav1.Time `json:"attemptedAt" protobuf:"bytes,3,opt,name=attemptedAt"`
}

ConnectionState contains information about remote resource connection state, currently used for clusters and repositories

func (*ConnectionState) DeepCopy

func (in *ConnectionState) DeepCopy() *ConnectionState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionState.

func (*ConnectionState) DeepCopyInto

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

func (*ConnectionState) Descriptor() ([]byte, []int)

func (*ConnectionState) Marshal

func (m *ConnectionState) Marshal() (dAtA []byte, err error)

func (*ConnectionState) MarshalTo

func (m *ConnectionState) MarshalTo(dAtA []byte) (int, error)

func (*ConnectionState) MarshalToSizedBuffer

func (m *ConnectionState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConnectionState) ProtoMessage

func (*ConnectionState) ProtoMessage()

func (*ConnectionState) Reset

func (m *ConnectionState) Reset()

func (*ConnectionState) Size

func (m *ConnectionState) Size() (n int)

func (*ConnectionState) String

func (this *ConnectionState) String() string

func (*ConnectionState) Unmarshal

func (m *ConnectionState) Unmarshal(dAtA []byte) error

func (*ConnectionState) XXX_DiscardUnknown

func (m *ConnectionState) XXX_DiscardUnknown()

func (*ConnectionState) XXX_Marshal

func (m *ConnectionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectionState) XXX_Merge

func (m *ConnectionState) XXX_Merge(src proto.Message)

func (*ConnectionState) XXX_Size

func (m *ConnectionState) XXX_Size() int

func (*ConnectionState) XXX_Unmarshal

func (m *ConnectionState) XXX_Unmarshal(b []byte) error

type ConnectionStatus

type ConnectionStatus = string

ConnectionStatus represents the status indicator for a connection to a remote resource

type DuckTypeGenerator added in v2.5.0

type DuckTypeGenerator struct {
	// ConfigMapRef is a ConfigMap with the duck type definitions needed to retrieve the data
	//              this includes apiVersion(group/version), kind, matchKey and validation settings
	// Name is the resource name of the kind, group and version, defined in the ConfigMapRef
	// RequeueAfterSeconds is how long before the duckType will be rechecked for a change
	ConfigMapRef        string               `json:"configMapRef" protobuf:"bytes,1,name=configMapRef"`
	Name                string               `json:"name,omitempty" protobuf:"bytes,2,name=name"`
	RequeueAfterSeconds *int64               `json:"requeueAfterSeconds,omitempty" protobuf:"bytes,3,name=requeueAfterSeconds"`
	LabelSelector       metav1.LabelSelector `json:"labelSelector,omitempty" protobuf:"bytes,4,name=labelSelector"`

	Template ApplicationSetTemplate `json:"template,omitempty" protobuf:"bytes,5,name=template"`
	// Values contains key/value pairs which are passed directly as parameters to the template
	Values map[string]string `json:"values,omitempty" protobuf:"bytes,6,name=values"`
}

DuckType defines a generator to match against clusters registered with ArgoCD.

func (*DuckTypeGenerator) DeepCopy added in v2.5.0

func (in *DuckTypeGenerator) DeepCopy() *DuckTypeGenerator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DuckTypeGenerator.

func (*DuckTypeGenerator) DeepCopyInto added in v2.5.0

func (in *DuckTypeGenerator) DeepCopyInto(out *DuckTypeGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DuckTypeGenerator) Descriptor added in v2.5.0

func (*DuckTypeGenerator) Descriptor() ([]byte, []int)

func (*DuckTypeGenerator) Marshal added in v2.5.0

func (m *DuckTypeGenerator) Marshal() (dAtA []byte, err error)

func (*DuckTypeGenerator) MarshalTo added in v2.5.0

func (m *DuckTypeGenerator) MarshalTo(dAtA []byte) (int, error)

func (*DuckTypeGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *DuckTypeGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DuckTypeGenerator) ProtoMessage added in v2.5.0

func (*DuckTypeGenerator) ProtoMessage()

func (*DuckTypeGenerator) Reset added in v2.5.0

func (m *DuckTypeGenerator) Reset()

func (*DuckTypeGenerator) Size added in v2.5.0

func (m *DuckTypeGenerator) Size() (n int)

func (*DuckTypeGenerator) String added in v2.5.0

func (this *DuckTypeGenerator) String() string

func (*DuckTypeGenerator) Unmarshal added in v2.5.0

func (m *DuckTypeGenerator) Unmarshal(dAtA []byte) error

func (*DuckTypeGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *DuckTypeGenerator) XXX_DiscardUnknown()

func (*DuckTypeGenerator) XXX_Marshal added in v2.5.0

func (m *DuckTypeGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DuckTypeGenerator) XXX_Merge added in v2.5.0

func (m *DuckTypeGenerator) XXX_Merge(src proto.Message)

func (*DuckTypeGenerator) XXX_Size added in v2.5.0

func (m *DuckTypeGenerator) XXX_Size() int

func (*DuckTypeGenerator) XXX_Unmarshal added in v2.5.0

func (m *DuckTypeGenerator) XXX_Unmarshal(b []byte) error

type Env

type Env []*EnvEntry

Env is a list of environment variable entries

func (Env) DeepCopy

func (in Env) DeepCopy() Env

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Env.

func (Env) DeepCopyInto

func (in Env) DeepCopyInto(out *Env)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Env) Environ

func (e Env) Environ() []string

Environ returns a list of environment variables in name=value format from a list of variables

func (Env) Envsubst

func (e Env) Envsubst(s string) string

Envsubst interpolates variable references in a string from a list of variables

func (Env) IsZero

func (e Env) IsZero() bool

IsZero returns true if a list of variables is considered empty

type EnvEntry

type EnvEntry struct {
	// Name is the name of the variable, usually expressed in uppercase
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Value is the value of the variable
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

EnvEntry represents an entry in the application's environment

func NewEnvEntry

func NewEnvEntry(text string) (*EnvEntry, error)

NewEnvEntry parses a string in format name=value and returns an EnvEntry object

func (*EnvEntry) DeepCopy

func (in *EnvEntry) DeepCopy() *EnvEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvEntry.

func (*EnvEntry) DeepCopyInto

func (in *EnvEntry) DeepCopyInto(out *EnvEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EnvEntry) Descriptor

func (*EnvEntry) Descriptor() ([]byte, []int)

func (*EnvEntry) IsZero

func (a *EnvEntry) IsZero() bool

IsZero returns true if a variable is considered empty or unset

func (*EnvEntry) Marshal

func (m *EnvEntry) Marshal() (dAtA []byte, err error)

func (*EnvEntry) MarshalTo

func (m *EnvEntry) MarshalTo(dAtA []byte) (int, error)

func (*EnvEntry) MarshalToSizedBuffer

func (m *EnvEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EnvEntry) ProtoMessage

func (*EnvEntry) ProtoMessage()

func (*EnvEntry) Reset

func (m *EnvEntry) Reset()

func (*EnvEntry) Size

func (m *EnvEntry) Size() (n int)

func (*EnvEntry) String

func (this *EnvEntry) String() string

func (*EnvEntry) Unmarshal

func (m *EnvEntry) Unmarshal(dAtA []byte) error

func (*EnvEntry) XXX_DiscardUnknown

func (m *EnvEntry) XXX_DiscardUnknown()

func (*EnvEntry) XXX_Marshal

func (m *EnvEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnvEntry) XXX_Merge

func (m *EnvEntry) XXX_Merge(src proto.Message)

func (*EnvEntry) XXX_Size

func (m *EnvEntry) XXX_Size() int

func (*EnvEntry) XXX_Unmarshal

func (m *EnvEntry) XXX_Unmarshal(b []byte) error

type ExecProviderConfig

type ExecProviderConfig struct {
	// Command to execute
	Command string `json:"command,omitempty" protobuf:"bytes,1,opt,name=command"`

	// Arguments to pass to the command when executing it
	Args []string `json:"args,omitempty" protobuf:"bytes,2,rep,name=args"`

	// Env defines additional environment variables to expose to the process
	Env map[string]string `json:"env,omitempty" protobuf:"bytes,3,opt,name=env"`

	// Preferred input version of the ExecInfo
	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,4,opt,name=apiVersion"`

	// This text is shown to the user when the executable doesn't seem to be present
	InstallHint string `json:"installHint,omitempty" protobuf:"bytes,5,opt,name=installHint"`
}

ExecProviderConfig is config used to call an external command to perform cluster authentication See: https://godoc.org/k8s.io/client-go/tools/clientcmd/api#ExecConfig

func (*ExecProviderConfig) DeepCopy

func (in *ExecProviderConfig) DeepCopy() *ExecProviderConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecProviderConfig.

func (*ExecProviderConfig) DeepCopyInto

func (in *ExecProviderConfig) DeepCopyInto(out *ExecProviderConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExecProviderConfig) Descriptor

func (*ExecProviderConfig) Descriptor() ([]byte, []int)

func (*ExecProviderConfig) Marshal

func (m *ExecProviderConfig) Marshal() (dAtA []byte, err error)

func (*ExecProviderConfig) MarshalTo

func (m *ExecProviderConfig) MarshalTo(dAtA []byte) (int, error)

func (*ExecProviderConfig) MarshalToSizedBuffer

func (m *ExecProviderConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecProviderConfig) ProtoMessage

func (*ExecProviderConfig) ProtoMessage()

func (*ExecProviderConfig) Reset

func (m *ExecProviderConfig) Reset()

func (*ExecProviderConfig) Size

func (m *ExecProviderConfig) Size() (n int)

func (*ExecProviderConfig) String

func (this *ExecProviderConfig) String() string

func (*ExecProviderConfig) Unmarshal

func (m *ExecProviderConfig) Unmarshal(dAtA []byte) error

func (*ExecProviderConfig) XXX_DiscardUnknown

func (m *ExecProviderConfig) XXX_DiscardUnknown()

func (*ExecProviderConfig) XXX_Marshal

func (m *ExecProviderConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecProviderConfig) XXX_Merge

func (m *ExecProviderConfig) XXX_Merge(src proto.Message)

func (*ExecProviderConfig) XXX_Size

func (m *ExecProviderConfig) XXX_Size() int

func (*ExecProviderConfig) XXX_Unmarshal

func (m *ExecProviderConfig) XXX_Unmarshal(b []byte) error

type GitDirectoryGeneratorItem added in v2.5.0

type GitDirectoryGeneratorItem struct {
	Path    string `json:"path" protobuf:"bytes,1,name=path"`
	Exclude bool   `json:"exclude,omitempty" protobuf:"bytes,2,name=exclude"`
}

func (*GitDirectoryGeneratorItem) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitDirectoryGeneratorItem.

func (*GitDirectoryGeneratorItem) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitDirectoryGeneratorItem) Descriptor added in v2.5.0

func (*GitDirectoryGeneratorItem) Descriptor() ([]byte, []int)

func (*GitDirectoryGeneratorItem) Marshal added in v2.5.0

func (m *GitDirectoryGeneratorItem) Marshal() (dAtA []byte, err error)

func (*GitDirectoryGeneratorItem) MarshalTo added in v2.5.0

func (m *GitDirectoryGeneratorItem) MarshalTo(dAtA []byte) (int, error)

func (*GitDirectoryGeneratorItem) MarshalToSizedBuffer added in v2.5.0

func (m *GitDirectoryGeneratorItem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitDirectoryGeneratorItem) ProtoMessage added in v2.5.0

func (*GitDirectoryGeneratorItem) ProtoMessage()

func (*GitDirectoryGeneratorItem) Reset added in v2.5.0

func (m *GitDirectoryGeneratorItem) Reset()

func (*GitDirectoryGeneratorItem) Size added in v2.5.0

func (m *GitDirectoryGeneratorItem) Size() (n int)

func (*GitDirectoryGeneratorItem) String added in v2.5.0

func (this *GitDirectoryGeneratorItem) String() string

func (*GitDirectoryGeneratorItem) Unmarshal added in v2.5.0

func (m *GitDirectoryGeneratorItem) Unmarshal(dAtA []byte) error

func (*GitDirectoryGeneratorItem) XXX_DiscardUnknown added in v2.5.0

func (m *GitDirectoryGeneratorItem) XXX_DiscardUnknown()

func (*GitDirectoryGeneratorItem) XXX_Marshal added in v2.5.0

func (m *GitDirectoryGeneratorItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitDirectoryGeneratorItem) XXX_Merge added in v2.5.0

func (m *GitDirectoryGeneratorItem) XXX_Merge(src proto.Message)

func (*GitDirectoryGeneratorItem) XXX_Size added in v2.5.0

func (m *GitDirectoryGeneratorItem) XXX_Size() int

func (*GitDirectoryGeneratorItem) XXX_Unmarshal added in v2.5.0

func (m *GitDirectoryGeneratorItem) XXX_Unmarshal(b []byte) error

type GitFileGeneratorItem added in v2.5.0

type GitFileGeneratorItem struct {
	Path string `json:"path" protobuf:"bytes,1,name=path"`
}

func (*GitFileGeneratorItem) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitFileGeneratorItem.

func (*GitFileGeneratorItem) DeepCopyInto added in v2.5.0

func (in *GitFileGeneratorItem) DeepCopyInto(out *GitFileGeneratorItem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitFileGeneratorItem) Descriptor added in v2.5.0

func (*GitFileGeneratorItem) Descriptor() ([]byte, []int)

func (*GitFileGeneratorItem) Marshal added in v2.5.0

func (m *GitFileGeneratorItem) Marshal() (dAtA []byte, err error)

func (*GitFileGeneratorItem) MarshalTo added in v2.5.0

func (m *GitFileGeneratorItem) MarshalTo(dAtA []byte) (int, error)

func (*GitFileGeneratorItem) MarshalToSizedBuffer added in v2.5.0

func (m *GitFileGeneratorItem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitFileGeneratorItem) ProtoMessage added in v2.5.0

func (*GitFileGeneratorItem) ProtoMessage()

func (*GitFileGeneratorItem) Reset added in v2.5.0

func (m *GitFileGeneratorItem) Reset()

func (*GitFileGeneratorItem) Size added in v2.5.0

func (m *GitFileGeneratorItem) Size() (n int)

func (*GitFileGeneratorItem) String added in v2.5.0

func (this *GitFileGeneratorItem) String() string

func (*GitFileGeneratorItem) Unmarshal added in v2.5.0

func (m *GitFileGeneratorItem) Unmarshal(dAtA []byte) error

func (*GitFileGeneratorItem) XXX_DiscardUnknown added in v2.5.0

func (m *GitFileGeneratorItem) XXX_DiscardUnknown()

func (*GitFileGeneratorItem) XXX_Marshal added in v2.5.0

func (m *GitFileGeneratorItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitFileGeneratorItem) XXX_Merge added in v2.5.0

func (m *GitFileGeneratorItem) XXX_Merge(src proto.Message)

func (*GitFileGeneratorItem) XXX_Size added in v2.5.0

func (m *GitFileGeneratorItem) XXX_Size() int

func (*GitFileGeneratorItem) XXX_Unmarshal added in v2.5.0

func (m *GitFileGeneratorItem) XXX_Unmarshal(b []byte) error

type GitGenerator added in v2.5.0

type GitGenerator struct {
	RepoURL             string                      `json:"repoURL" protobuf:"bytes,1,name=repoURL"`
	Directories         []GitDirectoryGeneratorItem `json:"directories,omitempty" protobuf:"bytes,2,name=directories"`
	Files               []GitFileGeneratorItem      `json:"files,omitempty" protobuf:"bytes,3,name=files"`
	Revision            string                      `json:"revision" protobuf:"bytes,4,name=revision"`
	RequeueAfterSeconds *int64                      `json:"requeueAfterSeconds,omitempty" protobuf:"bytes,5,name=requeueAfterSeconds"`
	Template            ApplicationSetTemplate      `json:"template,omitempty" protobuf:"bytes,6,name=template"`
}

func (*GitGenerator) DeepCopy added in v2.5.0

func (in *GitGenerator) DeepCopy() *GitGenerator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitGenerator.

func (*GitGenerator) DeepCopyInto added in v2.5.0

func (in *GitGenerator) DeepCopyInto(out *GitGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitGenerator) Descriptor added in v2.5.0

func (*GitGenerator) Descriptor() ([]byte, []int)

func (*GitGenerator) Marshal added in v2.5.0

func (m *GitGenerator) Marshal() (dAtA []byte, err error)

func (*GitGenerator) MarshalTo added in v2.5.0

func (m *GitGenerator) MarshalTo(dAtA []byte) (int, error)

func (*GitGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *GitGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitGenerator) ProtoMessage added in v2.5.0

func (*GitGenerator) ProtoMessage()

func (*GitGenerator) Reset added in v2.5.0

func (m *GitGenerator) Reset()

func (*GitGenerator) Size added in v2.5.0

func (m *GitGenerator) Size() (n int)

func (*GitGenerator) String added in v2.5.0

func (this *GitGenerator) String() string

func (*GitGenerator) Unmarshal added in v2.5.0

func (m *GitGenerator) Unmarshal(dAtA []byte) error

func (*GitGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *GitGenerator) XXX_DiscardUnknown()

func (*GitGenerator) XXX_Marshal added in v2.5.0

func (m *GitGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitGenerator) XXX_Merge added in v2.5.0

func (m *GitGenerator) XXX_Merge(src proto.Message)

func (*GitGenerator) XXX_Size added in v2.5.0

func (m *GitGenerator) XXX_Size() int

func (*GitGenerator) XXX_Unmarshal added in v2.5.0

func (m *GitGenerator) XXX_Unmarshal(b []byte) error

type GnuPGPublicKey

type GnuPGPublicKey struct {
	// KeyID specifies the key ID, in hexadecimal string format
	KeyID string `json:"keyID" protobuf:"bytes,1,opt,name=keyID"`
	// Fingerprint is the fingerprint of the key
	Fingerprint string `json:"fingerprint,omitempty" protobuf:"bytes,2,opt,name=fingerprint"`
	// Owner holds the owner identification, e.g. a name and e-mail address
	Owner string `json:"owner,omitempty" protobuf:"bytes,3,opt,name=owner"`
	// Trust holds the level of trust assigned to this key
	Trust string `json:"trust,omitempty" protobuf:"bytes,4,opt,name=trust"`
	// SubType holds the key's sub type (e.g. rsa4096)
	SubType string `json:"subType,omitempty" protobuf:"bytes,5,opt,name=subType"`
	// KeyData holds the raw key data, in base64 encoded format
	KeyData string `json:"keyData,omitempty" protobuf:"bytes,6,opt,name=keyData"`
}

GnuPGPublicKey is a representation of a GnuPG public key

func (*GnuPGPublicKey) DeepCopy

func (in *GnuPGPublicKey) DeepCopy() *GnuPGPublicKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GnuPGPublicKey.

func (*GnuPGPublicKey) DeepCopyInto

func (in *GnuPGPublicKey) DeepCopyInto(out *GnuPGPublicKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GnuPGPublicKey) Descriptor

func (*GnuPGPublicKey) Descriptor() ([]byte, []int)

func (*GnuPGPublicKey) Marshal

func (m *GnuPGPublicKey) Marshal() (dAtA []byte, err error)

func (*GnuPGPublicKey) MarshalTo

func (m *GnuPGPublicKey) MarshalTo(dAtA []byte) (int, error)

func (*GnuPGPublicKey) MarshalToSizedBuffer

func (m *GnuPGPublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GnuPGPublicKey) ProtoMessage

func (*GnuPGPublicKey) ProtoMessage()

func (*GnuPGPublicKey) Reset

func (m *GnuPGPublicKey) Reset()

func (*GnuPGPublicKey) Size

func (m *GnuPGPublicKey) Size() (n int)

func (*GnuPGPublicKey) String

func (this *GnuPGPublicKey) String() string

func (*GnuPGPublicKey) Unmarshal

func (m *GnuPGPublicKey) Unmarshal(dAtA []byte) error

func (*GnuPGPublicKey) XXX_DiscardUnknown

func (m *GnuPGPublicKey) XXX_DiscardUnknown()

func (*GnuPGPublicKey) XXX_Marshal

func (m *GnuPGPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GnuPGPublicKey) XXX_Merge

func (m *GnuPGPublicKey) XXX_Merge(src proto.Message)

func (*GnuPGPublicKey) XXX_Size

func (m *GnuPGPublicKey) XXX_Size() int

func (*GnuPGPublicKey) XXX_Unmarshal

func (m *GnuPGPublicKey) XXX_Unmarshal(b []byte) error

type GnuPGPublicKeyList

type GnuPGPublicKeyList struct {
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []GnuPGPublicKey `json:"items" protobuf:"bytes,2,rep,name=items"`
}

GnuPGPublicKeyList is a collection of GnuPGPublicKey objects

func (*GnuPGPublicKeyList) DeepCopy

func (in *GnuPGPublicKeyList) DeepCopy() *GnuPGPublicKeyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GnuPGPublicKeyList.

func (*GnuPGPublicKeyList) DeepCopyInto

func (in *GnuPGPublicKeyList) DeepCopyInto(out *GnuPGPublicKeyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GnuPGPublicKeyList) Descriptor

func (*GnuPGPublicKeyList) Descriptor() ([]byte, []int)

func (*GnuPGPublicKeyList) Marshal

func (m *GnuPGPublicKeyList) Marshal() (dAtA []byte, err error)

func (*GnuPGPublicKeyList) MarshalTo

func (m *GnuPGPublicKeyList) MarshalTo(dAtA []byte) (int, error)

func (*GnuPGPublicKeyList) MarshalToSizedBuffer

func (m *GnuPGPublicKeyList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GnuPGPublicKeyList) ProtoMessage

func (*GnuPGPublicKeyList) ProtoMessage()

func (*GnuPGPublicKeyList) Reset

func (m *GnuPGPublicKeyList) Reset()

func (*GnuPGPublicKeyList) Size

func (m *GnuPGPublicKeyList) Size() (n int)

func (*GnuPGPublicKeyList) String

func (this *GnuPGPublicKeyList) String() string

func (*GnuPGPublicKeyList) Unmarshal

func (m *GnuPGPublicKeyList) Unmarshal(dAtA []byte) error

func (*GnuPGPublicKeyList) XXX_DiscardUnknown

func (m *GnuPGPublicKeyList) XXX_DiscardUnknown()

func (*GnuPGPublicKeyList) XXX_Marshal

func (m *GnuPGPublicKeyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GnuPGPublicKeyList) XXX_Merge

func (m *GnuPGPublicKeyList) XXX_Merge(src proto.Message)

func (*GnuPGPublicKeyList) XXX_Size

func (m *GnuPGPublicKeyList) XXX_Size() int

func (*GnuPGPublicKeyList) XXX_Unmarshal

func (m *GnuPGPublicKeyList) XXX_Unmarshal(b []byte) error

type HealthStatus

type HealthStatus struct {
	// Status holds the status code of the application or resource
	Status health.HealthStatusCode `json:"status,omitempty" protobuf:"bytes,1,opt,name=status"`
	// Message is a human-readable informational message describing the health status
	Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"`
}

HealthStatus contains information about the currently observed health state of an application or resource

func (*HealthStatus) DeepCopy

func (in *HealthStatus) DeepCopy() *HealthStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthStatus.

func (*HealthStatus) DeepCopyInto

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

func (*HealthStatus) Descriptor() ([]byte, []int)

func (*HealthStatus) Marshal

func (m *HealthStatus) Marshal() (dAtA []byte, err error)

func (*HealthStatus) MarshalTo

func (m *HealthStatus) MarshalTo(dAtA []byte) (int, error)

func (*HealthStatus) MarshalToSizedBuffer

func (m *HealthStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HealthStatus) ProtoMessage

func (*HealthStatus) ProtoMessage()

func (*HealthStatus) Reset

func (m *HealthStatus) Reset()

func (*HealthStatus) Size

func (m *HealthStatus) Size() (n int)

func (*HealthStatus) String

func (this *HealthStatus) String() string

func (*HealthStatus) Unmarshal

func (m *HealthStatus) Unmarshal(dAtA []byte) error

func (*HealthStatus) XXX_DiscardUnknown

func (m *HealthStatus) XXX_DiscardUnknown()

func (*HealthStatus) XXX_Marshal

func (m *HealthStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthStatus) XXX_Merge

func (m *HealthStatus) XXX_Merge(src proto.Message)

func (*HealthStatus) XXX_Size

func (m *HealthStatus) XXX_Size() int

func (*HealthStatus) XXX_Unmarshal

func (m *HealthStatus) XXX_Unmarshal(b []byte) error

type HelmFileParameter

type HelmFileParameter struct {
	// Name is the name of the Helm parameter
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// Path is the path to the file containing the values for the Helm parameter
	Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`
}

HelmFileParameter is a file parameter that's passed to helm template during manifest generation

func NewHelmFileParameter

func NewHelmFileParameter(text string) (*HelmFileParameter, error)

NewHelmFileParameter parses a string in format name=value into a HelmFileParameter object and returns it

func (*HelmFileParameter) DeepCopy

func (in *HelmFileParameter) DeepCopy() *HelmFileParameter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmFileParameter.

func (*HelmFileParameter) DeepCopyInto

func (in *HelmFileParameter) DeepCopyInto(out *HelmFileParameter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HelmFileParameter) Descriptor

func (*HelmFileParameter) Descriptor() ([]byte, []int)

func (*HelmFileParameter) Marshal

func (m *HelmFileParameter) Marshal() (dAtA []byte, err error)

func (*HelmFileParameter) MarshalTo

func (m *HelmFileParameter) MarshalTo(dAtA []byte) (int, error)

func (*HelmFileParameter) MarshalToSizedBuffer

func (m *HelmFileParameter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelmFileParameter) ProtoMessage

func (*HelmFileParameter) ProtoMessage()

func (*HelmFileParameter) Reset

func (m *HelmFileParameter) Reset()

func (*HelmFileParameter) Size

func (m *HelmFileParameter) Size() (n int)

func (*HelmFileParameter) String

func (this *HelmFileParameter) String() string

func (*HelmFileParameter) Unmarshal

func (m *HelmFileParameter) Unmarshal(dAtA []byte) error

func (*HelmFileParameter) XXX_DiscardUnknown

func (m *HelmFileParameter) XXX_DiscardUnknown()

func (*HelmFileParameter) XXX_Marshal

func (m *HelmFileParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HelmFileParameter) XXX_Merge

func (m *HelmFileParameter) XXX_Merge(src proto.Message)

func (*HelmFileParameter) XXX_Size

func (m *HelmFileParameter) XXX_Size() int

func (*HelmFileParameter) XXX_Unmarshal

func (m *HelmFileParameter) XXX_Unmarshal(b []byte) error

type HelmOptions added in v2.1.11

type HelmOptions struct {
	ValuesFileSchemes []string `protobuf:"bytes,1,opt,name=valuesFileSchemes"`
}

HelmOptions holds helm options

func (*HelmOptions) DeepCopy added in v2.1.11

func (in *HelmOptions) DeepCopy() *HelmOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmOptions.

func (*HelmOptions) DeepCopyInto added in v2.1.11

func (in *HelmOptions) DeepCopyInto(out *HelmOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HelmOptions) Descriptor added in v2.1.11

func (*HelmOptions) Descriptor() ([]byte, []int)

func (*HelmOptions) Marshal added in v2.1.11

func (m *HelmOptions) Marshal() (dAtA []byte, err error)

func (*HelmOptions) MarshalTo added in v2.1.11

func (m *HelmOptions) MarshalTo(dAtA []byte) (int, error)

func (*HelmOptions) MarshalToSizedBuffer added in v2.1.11

func (m *HelmOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelmOptions) ProtoMessage added in v2.1.11

func (*HelmOptions) ProtoMessage()

func (*HelmOptions) Reset added in v2.1.11

func (m *HelmOptions) Reset()

func (*HelmOptions) Size added in v2.1.11

func (m *HelmOptions) Size() (n int)

func (*HelmOptions) String added in v2.1.11

func (this *HelmOptions) String() string

func (*HelmOptions) Unmarshal added in v2.1.11

func (m *HelmOptions) Unmarshal(dAtA []byte) error

func (*HelmOptions) XXX_DiscardUnknown added in v2.1.11

func (m *HelmOptions) XXX_DiscardUnknown()

func (*HelmOptions) XXX_Marshal added in v2.1.11

func (m *HelmOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HelmOptions) XXX_Merge added in v2.1.11

func (m *HelmOptions) XXX_Merge(src proto.Message)

func (*HelmOptions) XXX_Size added in v2.1.11

func (m *HelmOptions) XXX_Size() int

func (*HelmOptions) XXX_Unmarshal added in v2.1.11

func (m *HelmOptions) XXX_Unmarshal(b []byte) error

type HelmParameter

type HelmParameter struct {
	// Name is the name of the Helm parameter
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// Value is the value for the Helm parameter
	Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
	// ForceString determines whether to tell Helm to interpret booleans and numbers as strings
	ForceString bool `json:"forceString,omitempty" protobuf:"bytes,3,opt,name=forceString"`
}

HelmParameter is a parameter that's passed to helm template during manifest generation

func NewHelmParameter

func NewHelmParameter(text string, forceString bool) (*HelmParameter, error)

NewHelmParameter parses a string in format name=value into a HelmParameter object and returns it

func (*HelmParameter) DeepCopy

func (in *HelmParameter) DeepCopy() *HelmParameter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmParameter.

func (*HelmParameter) DeepCopyInto

func (in *HelmParameter) DeepCopyInto(out *HelmParameter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HelmParameter) Descriptor

func (*HelmParameter) Descriptor() ([]byte, []int)

func (*HelmParameter) Marshal

func (m *HelmParameter) Marshal() (dAtA []byte, err error)

func (*HelmParameter) MarshalTo

func (m *HelmParameter) MarshalTo(dAtA []byte) (int, error)

func (*HelmParameter) MarshalToSizedBuffer

func (m *HelmParameter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelmParameter) ProtoMessage

func (*HelmParameter) ProtoMessage()

func (*HelmParameter) Reset

func (m *HelmParameter) Reset()

func (*HelmParameter) Size

func (m *HelmParameter) Size() (n int)

func (*HelmParameter) String

func (this *HelmParameter) String() string

func (*HelmParameter) Unmarshal

func (m *HelmParameter) Unmarshal(dAtA []byte) error

func (*HelmParameter) XXX_DiscardUnknown

func (m *HelmParameter) XXX_DiscardUnknown()

func (*HelmParameter) XXX_Marshal

func (m *HelmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HelmParameter) XXX_Merge

func (m *HelmParameter) XXX_Merge(src proto.Message)

func (*HelmParameter) XXX_Size

func (m *HelmParameter) XXX_Size() int

func (*HelmParameter) XXX_Unmarshal

func (m *HelmParameter) XXX_Unmarshal(b []byte) error

type HostInfo

type HostInfo struct {
	Name          string             `json:"name,omitempty" protobuf:"bytes,1,name=name"`
	ResourcesInfo []HostResourceInfo `json:"resourcesInfo,omitempty" protobuf:"bytes,2,name=resourcesInfo"`
	SystemInfo    v1.NodeSystemInfo  `json:"systemInfo,omitempty" protobuf:"bytes,3,opt,name=systemInfo"`
}

HostInfo holds host name and resources metrics TODO: describe purpose of this type TODO: describe members of this type

func (*HostInfo) DeepCopy

func (in *HostInfo) DeepCopy() *HostInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostInfo.

func (*HostInfo) DeepCopyInto

func (in *HostInfo) DeepCopyInto(out *HostInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HostInfo) Descriptor

func (*HostInfo) Descriptor() ([]byte, []int)

func (*HostInfo) Marshal

func (m *HostInfo) Marshal() (dAtA []byte, err error)

func (*HostInfo) MarshalTo

func (m *HostInfo) MarshalTo(dAtA []byte) (int, error)

func (*HostInfo) MarshalToSizedBuffer

func (m *HostInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostInfo) ProtoMessage

func (*HostInfo) ProtoMessage()

func (*HostInfo) Reset

func (m *HostInfo) Reset()

func (*HostInfo) Size

func (m *HostInfo) Size() (n int)

func (*HostInfo) String

func (this *HostInfo) String() string

func (*HostInfo) Unmarshal

func (m *HostInfo) Unmarshal(dAtA []byte) error

func (*HostInfo) XXX_DiscardUnknown

func (m *HostInfo) XXX_DiscardUnknown()

func (*HostInfo) XXX_Marshal

func (m *HostInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostInfo) XXX_Merge

func (m *HostInfo) XXX_Merge(src proto.Message)

func (*HostInfo) XXX_Size

func (m *HostInfo) XXX_Size() int

func (*HostInfo) XXX_Unmarshal

func (m *HostInfo) XXX_Unmarshal(b []byte) error

type HostResourceInfo

type HostResourceInfo struct {
	ResourceName         v1.ResourceName `json:"resourceName,omitempty" protobuf:"bytes,1,name=resourceName"`
	RequestedByApp       int64           `json:"requestedByApp,omitempty" protobuf:"bytes,2,name=requestedByApp"`
	RequestedByNeighbors int64           `json:"requestedByNeighbors,omitempty" protobuf:"bytes,3,name=requestedByNeighbors"`
	Capacity             int64           `json:"capacity,omitempty" protobuf:"bytes,4,name=capacity"`
}

TODO: describe this type

func (*HostResourceInfo) DeepCopy

func (in *HostResourceInfo) DeepCopy() *HostResourceInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostResourceInfo.

func (*HostResourceInfo) DeepCopyInto

func (in *HostResourceInfo) DeepCopyInto(out *HostResourceInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HostResourceInfo) Descriptor

func (*HostResourceInfo) Descriptor() ([]byte, []int)

func (*HostResourceInfo) Marshal

func (m *HostResourceInfo) Marshal() (dAtA []byte, err error)

func (*HostResourceInfo) MarshalTo

func (m *HostResourceInfo) MarshalTo(dAtA []byte) (int, error)

func (*HostResourceInfo) MarshalToSizedBuffer

func (m *HostResourceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostResourceInfo) ProtoMessage

func (*HostResourceInfo) ProtoMessage()

func (*HostResourceInfo) Reset

func (m *HostResourceInfo) Reset()

func (*HostResourceInfo) Size

func (m *HostResourceInfo) Size() (n int)

func (*HostResourceInfo) String

func (this *HostResourceInfo) String() string

func (*HostResourceInfo) Unmarshal

func (m *HostResourceInfo) Unmarshal(dAtA []byte) error

func (*HostResourceInfo) XXX_DiscardUnknown

func (m *HostResourceInfo) XXX_DiscardUnknown()

func (*HostResourceInfo) XXX_Marshal

func (m *HostResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostResourceInfo) XXX_Merge

func (m *HostResourceInfo) XXX_Merge(src proto.Message)

func (*HostResourceInfo) XXX_Size

func (m *HostResourceInfo) XXX_Size() int

func (*HostResourceInfo) XXX_Unmarshal

func (m *HostResourceInfo) XXX_Unmarshal(b []byte) error

type Info

type Info struct {
	Name  string `json:"name" protobuf:"bytes,1,name=name"`
	Value string `json:"value" protobuf:"bytes,2,name=value"`
}

func (*Info) DeepCopy

func (in *Info) DeepCopy() *Info

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Info.

func (*Info) DeepCopyInto

func (in *Info) DeepCopyInto(out *Info)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Info) Descriptor

func (*Info) Descriptor() ([]byte, []int)

func (*Info) Marshal

func (m *Info) Marshal() (dAtA []byte, err error)

func (*Info) MarshalTo

func (m *Info) MarshalTo(dAtA []byte) (int, error)

func (*Info) MarshalToSizedBuffer

func (m *Info) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) Size

func (m *Info) Size() (n int)

func (*Info) String

func (this *Info) String() string

func (*Info) Unmarshal

func (m *Info) Unmarshal(dAtA []byte) error

func (*Info) XXX_DiscardUnknown

func (m *Info) XXX_DiscardUnknown()

func (*Info) XXX_Marshal

func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Info) XXX_Merge

func (m *Info) XXX_Merge(src proto.Message)

func (*Info) XXX_Size

func (m *Info) XXX_Size() int

func (*Info) XXX_Unmarshal

func (m *Info) XXX_Unmarshal(b []byte) error

type InfoItem

type InfoItem struct {
	// Name is a human readable title for this piece of information.
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// Value is human readable content.
	Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
}

InfoItem contains arbitrary, human readable information about an application

func (*InfoItem) DeepCopy

func (in *InfoItem) DeepCopy() *InfoItem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfoItem.

func (*InfoItem) DeepCopyInto

func (in *InfoItem) DeepCopyInto(out *InfoItem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InfoItem) Descriptor

func (*InfoItem) Descriptor() ([]byte, []int)

func (*InfoItem) Marshal

func (m *InfoItem) Marshal() (dAtA []byte, err error)

func (*InfoItem) MarshalTo

func (m *InfoItem) MarshalTo(dAtA []byte) (int, error)

func (*InfoItem) MarshalToSizedBuffer

func (m *InfoItem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InfoItem) ProtoMessage

func (*InfoItem) ProtoMessage()

func (*InfoItem) Reset

func (m *InfoItem) Reset()

func (*InfoItem) Size

func (m *InfoItem) Size() (n int)

func (*InfoItem) String

func (this *InfoItem) String() string

func (*InfoItem) Unmarshal

func (m *InfoItem) Unmarshal(dAtA []byte) error

func (*InfoItem) XXX_DiscardUnknown

func (m *InfoItem) XXX_DiscardUnknown()

func (*InfoItem) XXX_Marshal

func (m *InfoItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InfoItem) XXX_Merge

func (m *InfoItem) XXX_Merge(src proto.Message)

func (*InfoItem) XXX_Size

func (m *InfoItem) XXX_Size() int

func (*InfoItem) XXX_Unmarshal

func (m *InfoItem) XXX_Unmarshal(b []byte) error

type JWTToken

type JWTToken struct {
	IssuedAt  int64  `json:"iat" protobuf:"int64,1,opt,name=iat"`
	ExpiresAt int64  `json:"exp,omitempty" protobuf:"int64,2,opt,name=exp"`
	ID        string `json:"id,omitempty" protobuf:"bytes,3,opt,name=id"`
}

JWTToken holds the issuedAt and expiresAt values of a token

func (*JWTToken) DeepCopy

func (in *JWTToken) DeepCopy() *JWTToken

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTToken.

func (*JWTToken) DeepCopyInto

func (in *JWTToken) DeepCopyInto(out *JWTToken)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JWTToken) Descriptor

func (*JWTToken) Descriptor() ([]byte, []int)

func (*JWTToken) Marshal

func (m *JWTToken) Marshal() (dAtA []byte, err error)

func (*JWTToken) MarshalTo

func (m *JWTToken) MarshalTo(dAtA []byte) (int, error)

func (*JWTToken) MarshalToSizedBuffer

func (m *JWTToken) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JWTToken) ProtoMessage

func (*JWTToken) ProtoMessage()

func (*JWTToken) Reset

func (m *JWTToken) Reset()

func (*JWTToken) Size

func (m *JWTToken) Size() (n int)

func (*JWTToken) String

func (this *JWTToken) String() string

func (*JWTToken) Unmarshal

func (m *JWTToken) Unmarshal(dAtA []byte) error

func (*JWTToken) XXX_DiscardUnknown

func (m *JWTToken) XXX_DiscardUnknown()

func (*JWTToken) XXX_Marshal

func (m *JWTToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JWTToken) XXX_Merge

func (m *JWTToken) XXX_Merge(src proto.Message)

func (*JWTToken) XXX_Size

func (m *JWTToken) XXX_Size() int

func (*JWTToken) XXX_Unmarshal

func (m *JWTToken) XXX_Unmarshal(b []byte) error

type JWTTokens

type JWTTokens struct {
	Items []JWTToken `json:"items,omitempty" protobuf:"bytes,1,opt,name=items"`
}

JWTTokens represents a list of JWT tokens

func (*JWTTokens) DeepCopy

func (in *JWTTokens) DeepCopy() *JWTTokens

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTTokens.

func (*JWTTokens) DeepCopyInto

func (in *JWTTokens) DeepCopyInto(out *JWTTokens)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JWTTokens) Descriptor

func (*JWTTokens) Descriptor() ([]byte, []int)

func (*JWTTokens) Marshal

func (m *JWTTokens) Marshal() (dAtA []byte, err error)

func (*JWTTokens) MarshalTo

func (m *JWTTokens) MarshalTo(dAtA []byte) (int, error)

func (*JWTTokens) MarshalToSizedBuffer

func (m *JWTTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JWTTokens) ProtoMessage

func (*JWTTokens) ProtoMessage()

func (*JWTTokens) Reset

func (m *JWTTokens) Reset()

func (*JWTTokens) Size

func (m *JWTTokens) Size() (n int)

func (*JWTTokens) String

func (this *JWTTokens) String() string

func (*JWTTokens) Unmarshal

func (m *JWTTokens) Unmarshal(dAtA []byte) error

func (*JWTTokens) XXX_DiscardUnknown

func (m *JWTTokens) XXX_DiscardUnknown()

func (*JWTTokens) XXX_Marshal

func (m *JWTTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JWTTokens) XXX_Merge

func (m *JWTTokens) XXX_Merge(src proto.Message)

func (*JWTTokens) XXX_Size

func (m *JWTTokens) XXX_Size() int

func (*JWTTokens) XXX_Unmarshal

func (m *JWTTokens) XXX_Unmarshal(b []byte) error

type JsonnetVar

type JsonnetVar struct {
	Name  string `json:"name" protobuf:"bytes,1,opt,name=name"`
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
	Code  bool   `json:"code,omitempty" protobuf:"bytes,3,opt,name=code"`
}

JsonnetVar represents a variable to be passed to jsonnet during manifest generation

func NewJsonnetVar

func NewJsonnetVar(s string, code bool) JsonnetVar

NewJsonnetVar parses a Jsonnet variable from a string in the format name=value

func (*JsonnetVar) DeepCopy

func (in *JsonnetVar) DeepCopy() *JsonnetVar

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JsonnetVar.

func (*JsonnetVar) DeepCopyInto

func (in *JsonnetVar) DeepCopyInto(out *JsonnetVar)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JsonnetVar) Descriptor

func (*JsonnetVar) Descriptor() ([]byte, []int)

func (*JsonnetVar) Marshal

func (m *JsonnetVar) Marshal() (dAtA []byte, err error)

func (*JsonnetVar) MarshalTo

func (m *JsonnetVar) MarshalTo(dAtA []byte) (int, error)

func (*JsonnetVar) MarshalToSizedBuffer

func (m *JsonnetVar) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JsonnetVar) ProtoMessage

func (*JsonnetVar) ProtoMessage()

func (*JsonnetVar) Reset

func (m *JsonnetVar) Reset()

func (*JsonnetVar) Size

func (m *JsonnetVar) Size() (n int)

func (*JsonnetVar) String

func (this *JsonnetVar) String() string

func (*JsonnetVar) Unmarshal

func (m *JsonnetVar) Unmarshal(dAtA []byte) error

func (*JsonnetVar) XXX_DiscardUnknown

func (m *JsonnetVar) XXX_DiscardUnknown()

func (*JsonnetVar) XXX_Marshal

func (m *JsonnetVar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JsonnetVar) XXX_Merge

func (m *JsonnetVar) XXX_Merge(src proto.Message)

func (*JsonnetVar) XXX_Size

func (m *JsonnetVar) XXX_Size() int

func (*JsonnetVar) XXX_Unmarshal

func (m *JsonnetVar) XXX_Unmarshal(b []byte) error

type KnownTypeField

type KnownTypeField struct {
	Field string `json:"field,omitempty" protobuf:"bytes,1,opt,name=field"`
	Type  string `json:"type,omitempty" protobuf:"bytes,2,opt,name=type"`
}

KnownTypeField contains mapping between CRD field and known Kubernetes type. This is mainly used for unit conversion in unknown resources (e.g. 0.1 == 100mi) TODO: Describe the members of this type

func (*KnownTypeField) DeepCopy

func (in *KnownTypeField) DeepCopy() *KnownTypeField

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnownTypeField.

func (*KnownTypeField) DeepCopyInto

func (in *KnownTypeField) DeepCopyInto(out *KnownTypeField)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KnownTypeField) Descriptor

func (*KnownTypeField) Descriptor() ([]byte, []int)

func (*KnownTypeField) Marshal

func (m *KnownTypeField) Marshal() (dAtA []byte, err error)

func (*KnownTypeField) MarshalTo

func (m *KnownTypeField) MarshalTo(dAtA []byte) (int, error)

func (*KnownTypeField) MarshalToSizedBuffer

func (m *KnownTypeField) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KnownTypeField) ProtoMessage

func (*KnownTypeField) ProtoMessage()

func (*KnownTypeField) Reset

func (m *KnownTypeField) Reset()

func (*KnownTypeField) Size

func (m *KnownTypeField) Size() (n int)

func (*KnownTypeField) String

func (this *KnownTypeField) String() string

func (*KnownTypeField) Unmarshal

func (m *KnownTypeField) Unmarshal(dAtA []byte) error

func (*KnownTypeField) XXX_DiscardUnknown

func (m *KnownTypeField) XXX_DiscardUnknown()

func (*KnownTypeField) XXX_Marshal

func (m *KnownTypeField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KnownTypeField) XXX_Merge

func (m *KnownTypeField) XXX_Merge(src proto.Message)

func (*KnownTypeField) XXX_Size

func (m *KnownTypeField) XXX_Size() int

func (*KnownTypeField) XXX_Unmarshal

func (m *KnownTypeField) XXX_Unmarshal(b []byte) error

type KustomizeImage

type KustomizeImage string

KustomizeImage represents a Kustomize image definition in the format [old_image_name=]<image_name>:<image_tag>

func (KustomizeImage) Match

func (i KustomizeImage) Match(j KustomizeImage) bool

Match returns true if the image name matches (i.e. up to the first delimiter)

type KustomizeImages

type KustomizeImages []KustomizeImage

KustomizeImages is a list of Kustomize images

func (KustomizeImages) DeepCopy

func (in KustomizeImages) DeepCopy() KustomizeImages

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeImages.

func (KustomizeImages) DeepCopyInto

func (in KustomizeImages) DeepCopyInto(out *KustomizeImages)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (KustomizeImages) Find

func (images KustomizeImages) Find(image KustomizeImage) int

Find returns a positive integer representing the index in the list of images

type KustomizeOptions

type KustomizeOptions struct {
	// BuildOptions is a string of build parameters to use when calling `kustomize build`
	BuildOptions string `protobuf:"bytes,1,opt,name=buildOptions"`
	// BinaryPath holds optional path to kustomize binary
	BinaryPath string `protobuf:"bytes,2,opt,name=binaryPath"`
}

KustomizeOptions are options for kustomize to use when building manifests

func (*KustomizeOptions) DeepCopy

func (in *KustomizeOptions) DeepCopy() *KustomizeOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeOptions.

func (*KustomizeOptions) DeepCopyInto

func (in *KustomizeOptions) DeepCopyInto(out *KustomizeOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KustomizeOptions) Descriptor

func (*KustomizeOptions) Descriptor() ([]byte, []int)

func (*KustomizeOptions) Marshal

func (m *KustomizeOptions) Marshal() (dAtA []byte, err error)

func (*KustomizeOptions) MarshalTo

func (m *KustomizeOptions) MarshalTo(dAtA []byte) (int, error)

func (*KustomizeOptions) MarshalToSizedBuffer

func (m *KustomizeOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KustomizeOptions) ProtoMessage

func (*KustomizeOptions) ProtoMessage()

func (*KustomizeOptions) Reset

func (m *KustomizeOptions) Reset()

func (*KustomizeOptions) Size

func (m *KustomizeOptions) Size() (n int)

func (*KustomizeOptions) String

func (this *KustomizeOptions) String() string

func (*KustomizeOptions) Unmarshal

func (m *KustomizeOptions) Unmarshal(dAtA []byte) error

func (*KustomizeOptions) XXX_DiscardUnknown

func (m *KustomizeOptions) XXX_DiscardUnknown()

func (*KustomizeOptions) XXX_Marshal

func (m *KustomizeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KustomizeOptions) XXX_Merge

func (m *KustomizeOptions) XXX_Merge(src proto.Message)

func (*KustomizeOptions) XXX_Size

func (m *KustomizeOptions) XXX_Size() int

func (*KustomizeOptions) XXX_Unmarshal

func (m *KustomizeOptions) XXX_Unmarshal(b []byte) error

type ListGenerator added in v2.5.0

type ListGenerator struct {
	Elements []apiextensionsv1.JSON `json:"elements" protobuf:"bytes,1,name=elements"`
	Template ApplicationSetTemplate `json:"template,omitempty" protobuf:"bytes,2,name=template"`
}

ListGenerator include items info

func (*ListGenerator) DeepCopy added in v2.5.0

func (in *ListGenerator) DeepCopy() *ListGenerator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListGenerator.

func (*ListGenerator) DeepCopyInto added in v2.5.0

func (in *ListGenerator) DeepCopyInto(out *ListGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ListGenerator) Descriptor added in v2.5.0

func (*ListGenerator) Descriptor() ([]byte, []int)

func (*ListGenerator) Marshal added in v2.5.0

func (m *ListGenerator) Marshal() (dAtA []byte, err error)

func (*ListGenerator) MarshalTo added in v2.5.0

func (m *ListGenerator) MarshalTo(dAtA []byte) (int, error)

func (*ListGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *ListGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListGenerator) ProtoMessage added in v2.5.0

func (*ListGenerator) ProtoMessage()

func (*ListGenerator) Reset added in v2.5.0

func (m *ListGenerator) Reset()

func (*ListGenerator) Size added in v2.5.0

func (m *ListGenerator) Size() (n int)

func (*ListGenerator) String added in v2.5.0

func (this *ListGenerator) String() string

func (*ListGenerator) Unmarshal added in v2.5.0

func (m *ListGenerator) Unmarshal(dAtA []byte) error

func (*ListGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *ListGenerator) XXX_DiscardUnknown()

func (*ListGenerator) XXX_Marshal added in v2.5.0

func (m *ListGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListGenerator) XXX_Merge added in v2.5.0

func (m *ListGenerator) XXX_Merge(src proto.Message)

func (*ListGenerator) XXX_Size added in v2.5.0

func (m *ListGenerator) XXX_Size() int

func (*ListGenerator) XXX_Unmarshal added in v2.5.0

func (m *ListGenerator) XXX_Unmarshal(b []byte) error

type MatrixGenerator added in v2.5.0

type MatrixGenerator struct {
	Generators []ApplicationSetNestedGenerator `json:"generators" protobuf:"bytes,1,name=generators"`
	Template   ApplicationSetTemplate          `json:"template,omitempty" protobuf:"bytes,2,name=template"`
}

MatrixGenerator generates the cartesian product of two sets of parameters. The parameters are defined by two nested generators.

func (*MatrixGenerator) DeepCopy added in v2.5.0

func (in *MatrixGenerator) DeepCopy() *MatrixGenerator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatrixGenerator.

func (*MatrixGenerator) DeepCopyInto added in v2.5.0

func (in *MatrixGenerator) DeepCopyInto(out *MatrixGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MatrixGenerator) Descriptor added in v2.5.0

func (*MatrixGenerator) Descriptor() ([]byte, []int)

func (*MatrixGenerator) Marshal added in v2.5.0

func (m *MatrixGenerator) Marshal() (dAtA []byte, err error)

func (*MatrixGenerator) MarshalTo added in v2.5.0

func (m *MatrixGenerator) MarshalTo(dAtA []byte) (int, error)

func (*MatrixGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *MatrixGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MatrixGenerator) ProtoMessage added in v2.5.0

func (*MatrixGenerator) ProtoMessage()

func (*MatrixGenerator) Reset added in v2.5.0

func (m *MatrixGenerator) Reset()

func (*MatrixGenerator) Size added in v2.5.0

func (m *MatrixGenerator) Size() (n int)

func (*MatrixGenerator) String added in v2.5.0

func (this *MatrixGenerator) String() string

func (*MatrixGenerator) Unmarshal added in v2.5.0

func (m *MatrixGenerator) Unmarshal(dAtA []byte) error

func (*MatrixGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *MatrixGenerator) XXX_DiscardUnknown()

func (*MatrixGenerator) XXX_Marshal added in v2.5.0

func (m *MatrixGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MatrixGenerator) XXX_Merge added in v2.5.0

func (m *MatrixGenerator) XXX_Merge(src proto.Message)

func (*MatrixGenerator) XXX_Size added in v2.5.0

func (m *MatrixGenerator) XXX_Size() int

func (*MatrixGenerator) XXX_Unmarshal added in v2.5.0

func (m *MatrixGenerator) XXX_Unmarshal(b []byte) error

type MergeGenerator added in v2.5.0

type MergeGenerator struct {
	Generators []ApplicationSetNestedGenerator `json:"generators" protobuf:"bytes,1,name=generators"`
	MergeKeys  []string                        `json:"mergeKeys" protobuf:"bytes,2,name=mergeKeys"`
	Template   ApplicationSetTemplate          `json:"template,omitempty" protobuf:"bytes,3,name=template"`
}

MergeGenerator merges the output of two or more generators. Where the values for all specified merge keys are equal between two sets of generated parameters, the parameter sets will be merged with the parameters from the latter generator taking precedence. Parameter sets with merge keys not present in the base generator's params will be ignored. For example, if the first generator produced [{a: '1', b: '2'}, {c: '1', d: '1'}] and the second generator produced [{'a': 'override'}], the united parameters for merge keys = ['a'] would be [{a: 'override', b: '1'}, {c: '1', d: '1'}].

MergeGenerator supports template overriding. If a MergeGenerator is one of multiple top-level generators, its template will be merged with the top-level generator before the parameters are applied.

func (*MergeGenerator) DeepCopy added in v2.5.0

func (in *MergeGenerator) DeepCopy() *MergeGenerator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MergeGenerator.

func (*MergeGenerator) DeepCopyInto added in v2.5.0

func (in *MergeGenerator) DeepCopyInto(out *MergeGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MergeGenerator) Descriptor added in v2.5.0

func (*MergeGenerator) Descriptor() ([]byte, []int)

func (*MergeGenerator) Marshal added in v2.5.0

func (m *MergeGenerator) Marshal() (dAtA []byte, err error)

func (*MergeGenerator) MarshalTo added in v2.5.0

func (m *MergeGenerator) MarshalTo(dAtA []byte) (int, error)

func (*MergeGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *MergeGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MergeGenerator) ProtoMessage added in v2.5.0

func (*MergeGenerator) ProtoMessage()

func (*MergeGenerator) Reset added in v2.5.0

func (m *MergeGenerator) Reset()

func (*MergeGenerator) Size added in v2.5.0

func (m *MergeGenerator) Size() (n int)

func (*MergeGenerator) String added in v2.5.0

func (this *MergeGenerator) String() string

func (*MergeGenerator) Unmarshal added in v2.5.0

func (m *MergeGenerator) Unmarshal(dAtA []byte) error

func (*MergeGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *MergeGenerator) XXX_DiscardUnknown()

func (*MergeGenerator) XXX_Marshal added in v2.5.0

func (m *MergeGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MergeGenerator) XXX_Merge added in v2.5.0

func (m *MergeGenerator) XXX_Merge(src proto.Message)

func (*MergeGenerator) XXX_Size added in v2.5.0

func (m *MergeGenerator) XXX_Size() int

func (*MergeGenerator) XXX_Unmarshal added in v2.5.0

func (m *MergeGenerator) XXX_Unmarshal(b []byte) error

type NestedMatrixGenerator added in v2.5.0

type NestedMatrixGenerator struct {
	Generators ApplicationSetTerminalGenerators `json:"generators" protobuf:"bytes,1,name=generators"`
}

NestedMatrixGenerator is a MatrixGenerator nested under another combination-type generator (MatrixGenerator or MergeGenerator). NestedMatrixGenerator does not have an override template, because template overriding has no meaning within the constituent generators of combination-type generators.

NOTE: Nested matrix generator is not included directly in the CRD struct, instead it is included as a generic 'apiextensionsv1.JSON' object, and then marshalled into a NestedMatrixGenerator when processed.

func ToNestedMatrixGenerator added in v2.5.0

func ToNestedMatrixGenerator(j *apiextensionsv1.JSON) (*NestedMatrixGenerator, error)

ToNestedMatrixGenerator converts a JSON struct (from the K8s resource) to corresponding NestedMatrixGenerator object.

func (*NestedMatrixGenerator) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NestedMatrixGenerator.

func (*NestedMatrixGenerator) DeepCopyInto added in v2.5.0

func (in *NestedMatrixGenerator) DeepCopyInto(out *NestedMatrixGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NestedMatrixGenerator) Descriptor added in v2.5.0

func (*NestedMatrixGenerator) Descriptor() ([]byte, []int)

func (*NestedMatrixGenerator) Marshal added in v2.5.0

func (m *NestedMatrixGenerator) Marshal() (dAtA []byte, err error)

func (*NestedMatrixGenerator) MarshalTo added in v2.5.0

func (m *NestedMatrixGenerator) MarshalTo(dAtA []byte) (int, error)

func (*NestedMatrixGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *NestedMatrixGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NestedMatrixGenerator) ProtoMessage added in v2.5.0

func (*NestedMatrixGenerator) ProtoMessage()

func (*NestedMatrixGenerator) Reset added in v2.5.0

func (m *NestedMatrixGenerator) Reset()

func (*NestedMatrixGenerator) Size added in v2.5.0

func (m *NestedMatrixGenerator) Size() (n int)

func (*NestedMatrixGenerator) String added in v2.5.0

func (this *NestedMatrixGenerator) String() string

func (NestedMatrixGenerator) ToMatrixGenerator added in v2.5.0

func (g NestedMatrixGenerator) ToMatrixGenerator() *MatrixGenerator

ToMatrixGenerator converts a NestedMatrixGenerator to a MatrixGenerator. This conversion is for convenience, allowing a NestedMatrixGenerator to be used where a MatrixGenerator is expected (of course, the converted generator will have no override template).

func (*NestedMatrixGenerator) Unmarshal added in v2.5.0

func (m *NestedMatrixGenerator) Unmarshal(dAtA []byte) error

func (*NestedMatrixGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *NestedMatrixGenerator) XXX_DiscardUnknown()

func (*NestedMatrixGenerator) XXX_Marshal added in v2.5.0

func (m *NestedMatrixGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NestedMatrixGenerator) XXX_Merge added in v2.5.0

func (m *NestedMatrixGenerator) XXX_Merge(src proto.Message)

func (*NestedMatrixGenerator) XXX_Size added in v2.5.0

func (m *NestedMatrixGenerator) XXX_Size() int

func (*NestedMatrixGenerator) XXX_Unmarshal added in v2.5.0

func (m *NestedMatrixGenerator) XXX_Unmarshal(b []byte) error

type NestedMergeGenerator added in v2.5.0

type NestedMergeGenerator struct {
	Generators ApplicationSetTerminalGenerators `json:"generators" protobuf:"bytes,1,name=generators"`
	MergeKeys  []string                         `json:"mergeKeys" protobuf:"bytes,2,name=mergeKeys"`
}

NestedMergeGenerator is a MergeGenerator nested under another combination-type generator (MatrixGenerator or MergeGenerator). NestedMergeGenerator does not have an override template, because template overriding has no meaning within the constituent generators of combination-type generators.

NOTE: Nested merge generator is not included directly in the CRD struct, instead it is included as a generic 'apiextensionsv1.JSON' object, and then marshalled into a NestedMergeGenerator when processed.

func ToNestedMergeGenerator added in v2.5.0

func ToNestedMergeGenerator(j *apiextensionsv1.JSON) (*NestedMergeGenerator, error)

ToNestedMergeGenerator converts a JSON struct (from the K8s resource) to corresponding NestedMergeGenerator object.

func (*NestedMergeGenerator) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NestedMergeGenerator.

func (*NestedMergeGenerator) DeepCopyInto added in v2.5.0

func (in *NestedMergeGenerator) DeepCopyInto(out *NestedMergeGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NestedMergeGenerator) Descriptor added in v2.5.0

func (*NestedMergeGenerator) Descriptor() ([]byte, []int)

func (*NestedMergeGenerator) Marshal added in v2.5.0

func (m *NestedMergeGenerator) Marshal() (dAtA []byte, err error)

func (*NestedMergeGenerator) MarshalTo added in v2.5.0

func (m *NestedMergeGenerator) MarshalTo(dAtA []byte) (int, error)

func (*NestedMergeGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *NestedMergeGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NestedMergeGenerator) ProtoMessage added in v2.5.0

func (*NestedMergeGenerator) ProtoMessage()

func (*NestedMergeGenerator) Reset added in v2.5.0

func (m *NestedMergeGenerator) Reset()

func (*NestedMergeGenerator) Size added in v2.5.0

func (m *NestedMergeGenerator) Size() (n int)

func (*NestedMergeGenerator) String added in v2.5.0

func (this *NestedMergeGenerator) String() string

func (NestedMergeGenerator) ToMergeGenerator added in v2.5.0

func (g NestedMergeGenerator) ToMergeGenerator() *MergeGenerator

ToMergeGenerator converts a NestedMergeGenerator to a MergeGenerator. This conversion is for convenience, allowing a NestedMergeGenerator to be used where a MergeGenerator is expected (of course, the converted generator will have no override template).

func (*NestedMergeGenerator) Unmarshal added in v2.5.0

func (m *NestedMergeGenerator) Unmarshal(dAtA []byte) error

func (*NestedMergeGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *NestedMergeGenerator) XXX_DiscardUnknown()

func (*NestedMergeGenerator) XXX_Marshal added in v2.5.0

func (m *NestedMergeGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NestedMergeGenerator) XXX_Merge added in v2.5.0

func (m *NestedMergeGenerator) XXX_Merge(src proto.Message)

func (*NestedMergeGenerator) XXX_Size added in v2.5.0

func (m *NestedMergeGenerator) XXX_Size() int

func (*NestedMergeGenerator) XXX_Unmarshal added in v2.5.0

func (m *NestedMergeGenerator) XXX_Unmarshal(b []byte) error

type Operation

type Operation struct {
	// Sync contains parameters for the operation
	Sync *SyncOperation `json:"sync,omitempty" protobuf:"bytes,1,opt,name=sync"`
	// InitiatedBy contains information about who initiated the operations
	InitiatedBy OperationInitiator `json:"initiatedBy,omitempty" protobuf:"bytes,2,opt,name=initiatedBy"`
	// Info is a list of informational items for this operation
	Info []*Info `json:"info,omitempty" protobuf:"bytes,3,name=info"`
	// Retry controls the strategy to apply if a sync fails
	Retry RetryStrategy `json:"retry,omitempty" protobuf:"bytes,4,opt,name=retry"`
}

Operation contains information about a requested or running operation

func (*Operation) DeepCopy

func (in *Operation) DeepCopy() *Operation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operation.

func (*Operation) DeepCopyInto

func (in *Operation) DeepCopyInto(out *Operation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Operation) Descriptor

func (*Operation) Descriptor() ([]byte, []int)

func (*Operation) DryRun

func (o *Operation) DryRun() bool

DryRun returns true if an operation was requested to be performed in dry run mode

func (*Operation) Marshal

func (m *Operation) Marshal() (dAtA []byte, err error)

func (*Operation) MarshalTo

func (m *Operation) MarshalTo(dAtA []byte) (int, error)

func (*Operation) MarshalToSizedBuffer

func (m *Operation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) Reset

func (m *Operation) Reset()

func (*Operation) Size

func (m *Operation) Size() (n int)

func (*Operation) String

func (this *Operation) String() string

func (*Operation) Unmarshal

func (m *Operation) Unmarshal(dAtA []byte) error

func (*Operation) XXX_DiscardUnknown

func (m *Operation) XXX_DiscardUnknown()

func (*Operation) XXX_Marshal

func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Operation) XXX_Merge

func (m *Operation) XXX_Merge(src proto.Message)

func (*Operation) XXX_Size

func (m *Operation) XXX_Size() int

func (*Operation) XXX_Unmarshal

func (m *Operation) XXX_Unmarshal(b []byte) error

type OperationInitiator

type OperationInitiator struct {
	// Username contains the name of a user who started operation
	Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"`
	// Automated is set to true if operation was initiated automatically by the application controller.
	Automated bool `json:"automated,omitempty" protobuf:"bytes,2,opt,name=automated"`
}

OperationInitiator contains information about the initiator of an operation

func (*OperationInitiator) DeepCopy

func (in *OperationInitiator) DeepCopy() *OperationInitiator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationInitiator.

func (*OperationInitiator) DeepCopyInto

func (in *OperationInitiator) DeepCopyInto(out *OperationInitiator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OperationInitiator) Descriptor

func (*OperationInitiator) Descriptor() ([]byte, []int)

func (*OperationInitiator) Marshal

func (m *OperationInitiator) Marshal() (dAtA []byte, err error)

func (*OperationInitiator) MarshalTo

func (m *OperationInitiator) MarshalTo(dAtA []byte) (int, error)

func (*OperationInitiator) MarshalToSizedBuffer

func (m *OperationInitiator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OperationInitiator) ProtoMessage

func (*OperationInitiator) ProtoMessage()

func (*OperationInitiator) Reset

func (m *OperationInitiator) Reset()

func (*OperationInitiator) Size

func (m *OperationInitiator) Size() (n int)

func (*OperationInitiator) String

func (this *OperationInitiator) String() string

func (*OperationInitiator) Unmarshal

func (m *OperationInitiator) Unmarshal(dAtA []byte) error

func (*OperationInitiator) XXX_DiscardUnknown

func (m *OperationInitiator) XXX_DiscardUnknown()

func (*OperationInitiator) XXX_Marshal

func (m *OperationInitiator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OperationInitiator) XXX_Merge

func (m *OperationInitiator) XXX_Merge(src proto.Message)

func (*OperationInitiator) XXX_Size

func (m *OperationInitiator) XXX_Size() int

func (*OperationInitiator) XXX_Unmarshal

func (m *OperationInitiator) XXX_Unmarshal(b []byte) error

type OperationState

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 synccommon.OperationPhase `json:"phase" protobuf:"bytes,2,opt,name=phase"`
	// Message holds 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"`
	// 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,omitempty" protobuf:"bytes,7,opt,name=finishedAt"`
	// RetryCount contains time of operation retries
	RetryCount int64 `json:"retryCount,omitempty" protobuf:"bytes,8,opt,name=retryCount"`
}

OperationState contains information about state of a running operation

func (*OperationState) DeepCopy

func (in *OperationState) DeepCopy() *OperationState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationState.

func (*OperationState) DeepCopyInto

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

func (*OperationState) Descriptor() ([]byte, []int)

func (*OperationState) Marshal

func (m *OperationState) Marshal() (dAtA []byte, err error)

func (*OperationState) MarshalTo

func (m *OperationState) MarshalTo(dAtA []byte) (int, error)

func (*OperationState) MarshalToSizedBuffer

func (m *OperationState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OperationState) ProtoMessage

func (*OperationState) ProtoMessage()

func (*OperationState) Reset

func (m *OperationState) Reset()

func (*OperationState) Size

func (m *OperationState) Size() (n int)

func (*OperationState) String

func (this *OperationState) String() string

func (*OperationState) Unmarshal

func (m *OperationState) Unmarshal(dAtA []byte) error

func (*OperationState) XXX_DiscardUnknown

func (m *OperationState) XXX_DiscardUnknown()

func (*OperationState) XXX_Marshal

func (m *OperationState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OperationState) XXX_Merge

func (m *OperationState) XXX_Merge(src proto.Message)

func (*OperationState) XXX_Size

func (m *OperationState) XXX_Size() int

func (*OperationState) XXX_Unmarshal

func (m *OperationState) XXX_Unmarshal(b []byte) error

type OrphanedResourceKey

type OrphanedResourceKey struct {
	Group string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
	Kind  string `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"`
	Name  string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"`
}

OrphanedResourceKey is a reference to a resource to be ignored from

func (*OrphanedResourceKey) DeepCopy

func (in *OrphanedResourceKey) DeepCopy() *OrphanedResourceKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrphanedResourceKey.

func (*OrphanedResourceKey) DeepCopyInto

func (in *OrphanedResourceKey) DeepCopyInto(out *OrphanedResourceKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OrphanedResourceKey) Descriptor

func (*OrphanedResourceKey) Descriptor() ([]byte, []int)

func (*OrphanedResourceKey) Marshal

func (m *OrphanedResourceKey) Marshal() (dAtA []byte, err error)

func (*OrphanedResourceKey) MarshalTo

func (m *OrphanedResourceKey) MarshalTo(dAtA []byte) (int, error)

func (*OrphanedResourceKey) MarshalToSizedBuffer

func (m *OrphanedResourceKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrphanedResourceKey) ProtoMessage

func (*OrphanedResourceKey) ProtoMessage()

func (*OrphanedResourceKey) Reset

func (m *OrphanedResourceKey) Reset()

func (*OrphanedResourceKey) Size

func (m *OrphanedResourceKey) Size() (n int)

func (*OrphanedResourceKey) String

func (this *OrphanedResourceKey) String() string

func (*OrphanedResourceKey) Unmarshal

func (m *OrphanedResourceKey) Unmarshal(dAtA []byte) error

func (*OrphanedResourceKey) XXX_DiscardUnknown

func (m *OrphanedResourceKey) XXX_DiscardUnknown()

func (*OrphanedResourceKey) XXX_Marshal

func (m *OrphanedResourceKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrphanedResourceKey) XXX_Merge

func (m *OrphanedResourceKey) XXX_Merge(src proto.Message)

func (*OrphanedResourceKey) XXX_Size

func (m *OrphanedResourceKey) XXX_Size() int

func (*OrphanedResourceKey) XXX_Unmarshal

func (m *OrphanedResourceKey) XXX_Unmarshal(b []byte) error

type OrphanedResourcesMonitorSettings

type OrphanedResourcesMonitorSettings struct {
	// Warn indicates if warning condition should be created for apps which have orphaned resources
	Warn *bool `json:"warn,omitempty" protobuf:"bytes,1,name=warn"`
	// Ignore contains a list of resources that are to be excluded from orphaned resources monitoring
	Ignore []OrphanedResourceKey `json:"ignore,omitempty" protobuf:"bytes,2,opt,name=ignore"`
}

OrphanedResourcesMonitorSettings holds settings of orphaned resources monitoring

func (*OrphanedResourcesMonitorSettings) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrphanedResourcesMonitorSettings.

func (*OrphanedResourcesMonitorSettings) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OrphanedResourcesMonitorSettings) Descriptor

func (*OrphanedResourcesMonitorSettings) Descriptor() ([]byte, []int)

func (*OrphanedResourcesMonitorSettings) IsWarn

IsWarn returns true if warnings are enabled for orphan resources monitoring

func (*OrphanedResourcesMonitorSettings) Marshal

func (m *OrphanedResourcesMonitorSettings) Marshal() (dAtA []byte, err error)

func (*OrphanedResourcesMonitorSettings) MarshalTo

func (m *OrphanedResourcesMonitorSettings) MarshalTo(dAtA []byte) (int, error)

func (*OrphanedResourcesMonitorSettings) MarshalToSizedBuffer

func (m *OrphanedResourcesMonitorSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrphanedResourcesMonitorSettings) ProtoMessage

func (*OrphanedResourcesMonitorSettings) ProtoMessage()

func (*OrphanedResourcesMonitorSettings) Reset

func (*OrphanedResourcesMonitorSettings) Size

func (m *OrphanedResourcesMonitorSettings) Size() (n int)

func (*OrphanedResourcesMonitorSettings) String

func (*OrphanedResourcesMonitorSettings) Unmarshal

func (m *OrphanedResourcesMonitorSettings) Unmarshal(dAtA []byte) error

func (*OrphanedResourcesMonitorSettings) XXX_DiscardUnknown

func (m *OrphanedResourcesMonitorSettings) XXX_DiscardUnknown()

func (*OrphanedResourcesMonitorSettings) XXX_Marshal

func (m *OrphanedResourcesMonitorSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrphanedResourcesMonitorSettings) XXX_Merge

func (*OrphanedResourcesMonitorSettings) XXX_Size

func (m *OrphanedResourcesMonitorSettings) XXX_Size() int

func (*OrphanedResourcesMonitorSettings) XXX_Unmarshal

func (m *OrphanedResourcesMonitorSettings) XXX_Unmarshal(b []byte) error

type OverrideIgnoreDiff

type OverrideIgnoreDiff struct {
	//JSONPointers is a JSON path list following the format defined in RFC4627 (https://datatracker.ietf.org/doc/html/rfc6902#section-3)
	JSONPointers []string `json:"jsonPointers" protobuf:"bytes,1,rep,name=jSONPointers"`
	//JQPathExpressions is a JQ path list that will be evaludated during the diff process
	JQPathExpressions []string `json:"jqPathExpressions" protobuf:"bytes,2,opt,name=jqPathExpressions"`
	// ManagedFieldsManagers is a list of trusted managers. Fields mutated by those managers will take precedence over the
	// desired state defined in the SCM and won't be displayed in diffs
	ManagedFieldsManagers []string `json:"managedFieldsManagers" protobuf:"bytes,3,opt,name=managedFieldsManagers"`
}

OverrideIgnoreDiff contains configurations about how fields should be ignored during diffs between the desired state and live state

func (*OverrideIgnoreDiff) DeepCopy

func (in *OverrideIgnoreDiff) DeepCopy() *OverrideIgnoreDiff

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideIgnoreDiff.

func (*OverrideIgnoreDiff) DeepCopyInto

func (in *OverrideIgnoreDiff) DeepCopyInto(out *OverrideIgnoreDiff)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OverrideIgnoreDiff) Descriptor

func (*OverrideIgnoreDiff) Descriptor() ([]byte, []int)

func (*OverrideIgnoreDiff) Marshal

func (m *OverrideIgnoreDiff) Marshal() (dAtA []byte, err error)

func (*OverrideIgnoreDiff) MarshalTo

func (m *OverrideIgnoreDiff) MarshalTo(dAtA []byte) (int, error)

func (*OverrideIgnoreDiff) MarshalToSizedBuffer

func (m *OverrideIgnoreDiff) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OverrideIgnoreDiff) ProtoMessage

func (*OverrideIgnoreDiff) ProtoMessage()

func (*OverrideIgnoreDiff) Reset

func (m *OverrideIgnoreDiff) Reset()

func (*OverrideIgnoreDiff) Size

func (m *OverrideIgnoreDiff) Size() (n int)

func (*OverrideIgnoreDiff) String

func (this *OverrideIgnoreDiff) String() string

func (*OverrideIgnoreDiff) Unmarshal

func (m *OverrideIgnoreDiff) Unmarshal(dAtA []byte) error

func (*OverrideIgnoreDiff) XXX_DiscardUnknown

func (m *OverrideIgnoreDiff) XXX_DiscardUnknown()

func (*OverrideIgnoreDiff) XXX_Marshal

func (m *OverrideIgnoreDiff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OverrideIgnoreDiff) XXX_Merge

func (m *OverrideIgnoreDiff) XXX_Merge(src proto.Message)

func (*OverrideIgnoreDiff) XXX_Size

func (m *OverrideIgnoreDiff) XXX_Size() int

func (*OverrideIgnoreDiff) XXX_Unmarshal

func (m *OverrideIgnoreDiff) XXX_Unmarshal(b []byte) error

type ProjectRole

type ProjectRole struct {
	// Name is a name for this role
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Description is a description of the role
	Description string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`
	// Policies Stores a list of casbin formatted strings that define access policies for the role in the project
	Policies []string `json:"policies,omitempty" protobuf:"bytes,3,rep,name=policies"`
	// JWTTokens are a list of generated JWT tokens bound to this role
	JWTTokens []JWTToken `json:"jwtTokens,omitempty" protobuf:"bytes,4,rep,name=jwtTokens"`
	// Groups are a list of OIDC group claims bound to this role
	Groups []string `json:"groups,omitempty" protobuf:"bytes,5,rep,name=groups"`
}

ProjectRole represents a role that has access to a project

func (*ProjectRole) DeepCopy

func (in *ProjectRole) DeepCopy() *ProjectRole

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectRole.

func (*ProjectRole) DeepCopyInto

func (in *ProjectRole) DeepCopyInto(out *ProjectRole)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectRole) Descriptor

func (*ProjectRole) Descriptor() ([]byte, []int)

func (*ProjectRole) Marshal

func (m *ProjectRole) Marshal() (dAtA []byte, err error)

func (*ProjectRole) MarshalTo

func (m *ProjectRole) MarshalTo(dAtA []byte) (int, error)

func (*ProjectRole) MarshalToSizedBuffer

func (m *ProjectRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectRole) ProtoMessage

func (*ProjectRole) ProtoMessage()

func (*ProjectRole) Reset

func (m *ProjectRole) Reset()

func (*ProjectRole) Size

func (m *ProjectRole) Size() (n int)

func (*ProjectRole) String

func (this *ProjectRole) String() string

func (*ProjectRole) Unmarshal

func (m *ProjectRole) Unmarshal(dAtA []byte) error

func (*ProjectRole) XXX_DiscardUnknown

func (m *ProjectRole) XXX_DiscardUnknown()

func (*ProjectRole) XXX_Marshal

func (m *ProjectRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectRole) XXX_Merge

func (m *ProjectRole) XXX_Merge(src proto.Message)

func (*ProjectRole) XXX_Size

func (m *ProjectRole) XXX_Size() int

func (*ProjectRole) XXX_Unmarshal

func (m *ProjectRole) XXX_Unmarshal(b []byte) error

type PullRequestGenerator added in v2.5.0

type PullRequestGenerator struct {
	// Which provider to use and config for it.
	Github          *PullRequestGeneratorGithub          `json:"github,omitempty" protobuf:"bytes,1,opt,name=github"`
	GitLab          *PullRequestGeneratorGitLab          `json:"gitlab,omitempty" protobuf:"bytes,2,opt,name=gitlab"`
	Gitea           *PullRequestGeneratorGitea           `json:"gitea,omitempty" protobuf:"bytes,3,opt,name=gitea"`
	BitbucketServer *PullRequestGeneratorBitbucketServer `json:"bitbucketServer,omitempty" protobuf:"bytes,4,opt,name=bitbucketServer"`
	// Filters for which pull requests should be considered.
	Filters []PullRequestGeneratorFilter `json:"filters,omitempty" protobuf:"bytes,5,rep,name=filters"`
	// Standard parameters.
	RequeueAfterSeconds *int64                 `json:"requeueAfterSeconds,omitempty" protobuf:"varint,6,opt,name=requeueAfterSeconds"`
	Template            ApplicationSetTemplate `json:"template,omitempty" protobuf:"bytes,7,opt,name=template"`
}

PullRequestGenerator defines a generator that scrapes a PullRequest API to find candidate pull requests.

func (*PullRequestGenerator) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestGenerator.

func (*PullRequestGenerator) DeepCopyInto added in v2.5.0

func (in *PullRequestGenerator) DeepCopyInto(out *PullRequestGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PullRequestGenerator) Descriptor added in v2.5.0

func (*PullRequestGenerator) Descriptor() ([]byte, []int)

func (*PullRequestGenerator) Marshal added in v2.5.0

func (m *PullRequestGenerator) Marshal() (dAtA []byte, err error)

func (*PullRequestGenerator) MarshalTo added in v2.5.0

func (m *PullRequestGenerator) MarshalTo(dAtA []byte) (int, error)

func (*PullRequestGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *PullRequestGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullRequestGenerator) ProtoMessage added in v2.5.0

func (*PullRequestGenerator) ProtoMessage()

func (*PullRequestGenerator) Reset added in v2.5.0

func (m *PullRequestGenerator) Reset()

func (*PullRequestGenerator) Size added in v2.5.0

func (m *PullRequestGenerator) Size() (n int)

func (*PullRequestGenerator) String added in v2.5.0

func (this *PullRequestGenerator) String() string

func (*PullRequestGenerator) Unmarshal added in v2.5.0

func (m *PullRequestGenerator) Unmarshal(dAtA []byte) error

func (*PullRequestGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *PullRequestGenerator) XXX_DiscardUnknown()

func (*PullRequestGenerator) XXX_Marshal added in v2.5.0

func (m *PullRequestGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PullRequestGenerator) XXX_Merge added in v2.5.0

func (m *PullRequestGenerator) XXX_Merge(src proto.Message)

func (*PullRequestGenerator) XXX_Size added in v2.5.0

func (m *PullRequestGenerator) XXX_Size() int

func (*PullRequestGenerator) XXX_Unmarshal added in v2.5.0

func (m *PullRequestGenerator) XXX_Unmarshal(b []byte) error

type PullRequestGeneratorBitbucketServer added in v2.5.0

type PullRequestGeneratorBitbucketServer struct {
	// Project to scan. Required.
	Project string `json:"project" protobuf:"bytes,1,opt,name=project"`
	// Repo name to scan. Required.
	Repo string `json:"repo" protobuf:"bytes,2,opt,name=repo"`
	// The Bitbucket REST API URL to talk to e.g. https://bitbucket.org/rest Required.
	API string `json:"api" protobuf:"bytes,3,opt,name=api"`
	// Credentials for Basic auth
	BasicAuth *BasicAuthBitbucketServer `json:"basicAuth,omitempty" protobuf:"bytes,4,opt,name=basicAuth"`
}

PullRequestGenerator defines connection info specific to BitbucketServer.

func (*PullRequestGeneratorBitbucketServer) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestGeneratorBitbucketServer.

func (*PullRequestGeneratorBitbucketServer) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PullRequestGeneratorBitbucketServer) Descriptor added in v2.5.0

func (*PullRequestGeneratorBitbucketServer) Descriptor() ([]byte, []int)

func (*PullRequestGeneratorBitbucketServer) Marshal added in v2.5.0

func (m *PullRequestGeneratorBitbucketServer) Marshal() (dAtA []byte, err error)

func (*PullRequestGeneratorBitbucketServer) MarshalTo added in v2.5.0

func (m *PullRequestGeneratorBitbucketServer) MarshalTo(dAtA []byte) (int, error)

func (*PullRequestGeneratorBitbucketServer) MarshalToSizedBuffer added in v2.5.0

func (m *PullRequestGeneratorBitbucketServer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullRequestGeneratorBitbucketServer) ProtoMessage added in v2.5.0

func (*PullRequestGeneratorBitbucketServer) ProtoMessage()

func (*PullRequestGeneratorBitbucketServer) Reset added in v2.5.0

func (*PullRequestGeneratorBitbucketServer) Size added in v2.5.0

func (*PullRequestGeneratorBitbucketServer) String added in v2.5.0

func (*PullRequestGeneratorBitbucketServer) Unmarshal added in v2.5.0

func (m *PullRequestGeneratorBitbucketServer) Unmarshal(dAtA []byte) error

func (*PullRequestGeneratorBitbucketServer) XXX_DiscardUnknown added in v2.5.0

func (m *PullRequestGeneratorBitbucketServer) XXX_DiscardUnknown()

func (*PullRequestGeneratorBitbucketServer) XXX_Marshal added in v2.5.0

func (m *PullRequestGeneratorBitbucketServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PullRequestGeneratorBitbucketServer) XXX_Merge added in v2.5.0

func (*PullRequestGeneratorBitbucketServer) XXX_Size added in v2.5.0

func (*PullRequestGeneratorBitbucketServer) XXX_Unmarshal added in v2.5.0

func (m *PullRequestGeneratorBitbucketServer) XXX_Unmarshal(b []byte) error

type PullRequestGeneratorFilter added in v2.5.0

type PullRequestGeneratorFilter struct {
	BranchMatch *string `json:"branchMatch,omitempty" protobuf:"bytes,1,opt,name=branchMatch"`
}

PullRequestGeneratorFilter is a single pull request filter. If multiple filter types are set on a single struct, they will be AND'd together. All filters must pass for a pull request to be included.

func (*PullRequestGeneratorFilter) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestGeneratorFilter.

func (*PullRequestGeneratorFilter) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PullRequestGeneratorFilter) Descriptor added in v2.5.0

func (*PullRequestGeneratorFilter) Descriptor() ([]byte, []int)

func (*PullRequestGeneratorFilter) Marshal added in v2.5.0

func (m *PullRequestGeneratorFilter) Marshal() (dAtA []byte, err error)

func (*PullRequestGeneratorFilter) MarshalTo added in v2.5.0

func (m *PullRequestGeneratorFilter) MarshalTo(dAtA []byte) (int, error)

func (*PullRequestGeneratorFilter) MarshalToSizedBuffer added in v2.5.0

func (m *PullRequestGeneratorFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullRequestGeneratorFilter) ProtoMessage added in v2.5.0

func (*PullRequestGeneratorFilter) ProtoMessage()

func (*PullRequestGeneratorFilter) Reset added in v2.5.0

func (m *PullRequestGeneratorFilter) Reset()

func (*PullRequestGeneratorFilter) Size added in v2.5.0

func (m *PullRequestGeneratorFilter) Size() (n int)

func (*PullRequestGeneratorFilter) String added in v2.5.0

func (this *PullRequestGeneratorFilter) String() string

func (*PullRequestGeneratorFilter) Unmarshal added in v2.5.0

func (m *PullRequestGeneratorFilter) Unmarshal(dAtA []byte) error

func (*PullRequestGeneratorFilter) XXX_DiscardUnknown added in v2.5.0

func (m *PullRequestGeneratorFilter) XXX_DiscardUnknown()

func (*PullRequestGeneratorFilter) XXX_Marshal added in v2.5.0

func (m *PullRequestGeneratorFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PullRequestGeneratorFilter) XXX_Merge added in v2.5.0

func (m *PullRequestGeneratorFilter) XXX_Merge(src proto.Message)

func (*PullRequestGeneratorFilter) XXX_Size added in v2.5.0

func (m *PullRequestGeneratorFilter) XXX_Size() int

func (*PullRequestGeneratorFilter) XXX_Unmarshal added in v2.5.0

func (m *PullRequestGeneratorFilter) XXX_Unmarshal(b []byte) error

type PullRequestGeneratorGitLab added in v2.5.0

type PullRequestGeneratorGitLab struct {
	// GitLab project to scan. Required.
	Project string `json:"project" protobuf:"bytes,1,opt,name=project"`
	// The GitLab API URL to talk to. If blank, uses https://gitlab.com/.
	API string `json:"api,omitempty" protobuf:"bytes,2,opt,name=api"`
	// Authentication token reference.
	TokenRef *SecretRef `json:"tokenRef,omitempty" protobuf:"bytes,3,opt,name=tokenRef"`
	// Labels is used to filter the MRs that you want to target
	Labels []string `json:"labels,omitempty" protobuf:"bytes,4,rep,name=labels"`
	// PullRequestState is an additional MRs filter to get only those with a certain state. Default: "" (all states)
	PullRequestState string `json:"pullRequestState,omitempty" protobuf:"bytes,5,rep,name=pullRequestState"`
}

PullRequestGeneratorGitLab defines connection info specific to GitLab.

func (*PullRequestGeneratorGitLab) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestGeneratorGitLab.

func (*PullRequestGeneratorGitLab) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PullRequestGeneratorGitLab) Descriptor added in v2.5.0

func (*PullRequestGeneratorGitLab) Descriptor() ([]byte, []int)

func (*PullRequestGeneratorGitLab) Marshal added in v2.5.0

func (m *PullRequestGeneratorGitLab) Marshal() (dAtA []byte, err error)

func (*PullRequestGeneratorGitLab) MarshalTo added in v2.5.0

func (m *PullRequestGeneratorGitLab) MarshalTo(dAtA []byte) (int, error)

func (*PullRequestGeneratorGitLab) MarshalToSizedBuffer added in v2.5.0

func (m *PullRequestGeneratorGitLab) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullRequestGeneratorGitLab) ProtoMessage added in v2.5.0

func (*PullRequestGeneratorGitLab) ProtoMessage()

func (*PullRequestGeneratorGitLab) Reset added in v2.5.0

func (m *PullRequestGeneratorGitLab) Reset()

func (*PullRequestGeneratorGitLab) Size added in v2.5.0

func (m *PullRequestGeneratorGitLab) Size() (n int)

func (*PullRequestGeneratorGitLab) String added in v2.5.0

func (this *PullRequestGeneratorGitLab) String() string

func (*PullRequestGeneratorGitLab) Unmarshal added in v2.5.0

func (m *PullRequestGeneratorGitLab) Unmarshal(dAtA []byte) error

func (*PullRequestGeneratorGitLab) XXX_DiscardUnknown added in v2.5.0

func (m *PullRequestGeneratorGitLab) XXX_DiscardUnknown()

func (*PullRequestGeneratorGitLab) XXX_Marshal added in v2.5.0

func (m *PullRequestGeneratorGitLab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PullRequestGeneratorGitLab) XXX_Merge added in v2.5.0

func (m *PullRequestGeneratorGitLab) XXX_Merge(src proto.Message)

func (*PullRequestGeneratorGitLab) XXX_Size added in v2.5.0

func (m *PullRequestGeneratorGitLab) XXX_Size() int

func (*PullRequestGeneratorGitLab) XXX_Unmarshal added in v2.5.0

func (m *PullRequestGeneratorGitLab) XXX_Unmarshal(b []byte) error

type PullRequestGeneratorGitea added in v2.5.0

type PullRequestGeneratorGitea struct {
	// Gitea org or user to scan. Required.
	Owner string `json:"owner" protobuf:"bytes,1,opt,name=owner"`
	// Gitea repo name to scan. Required.
	Repo string `json:"repo" protobuf:"bytes,2,opt,name=repo"`
	// The Gitea API URL to talk to. Required
	API string `json:"api" protobuf:"bytes,3,opt,name=api"`
	// Authentication token reference.
	TokenRef *SecretRef `json:"tokenRef,omitempty" protobuf:"bytes,4,opt,name=tokenRef"`
	// Allow insecure tls, for self-signed certificates; default: false.
	Insecure bool `json:"insecure,omitempty" protobuf:"varint,5,opt,name=insecure"`
}

PullRequestGenerator defines connection info specific to Gitea.

func (*PullRequestGeneratorGitea) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestGeneratorGitea.

func (*PullRequestGeneratorGitea) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PullRequestGeneratorGitea) Descriptor added in v2.5.0

func (*PullRequestGeneratorGitea) Descriptor() ([]byte, []int)

func (*PullRequestGeneratorGitea) Marshal added in v2.5.0

func (m *PullRequestGeneratorGitea) Marshal() (dAtA []byte, err error)

func (*PullRequestGeneratorGitea) MarshalTo added in v2.5.0

func (m *PullRequestGeneratorGitea) MarshalTo(dAtA []byte) (int, error)

func (*PullRequestGeneratorGitea) MarshalToSizedBuffer added in v2.5.0

func (m *PullRequestGeneratorGitea) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullRequestGeneratorGitea) ProtoMessage added in v2.5.0

func (*PullRequestGeneratorGitea) ProtoMessage()

func (*PullRequestGeneratorGitea) Reset added in v2.5.0

func (m *PullRequestGeneratorGitea) Reset()

func (*PullRequestGeneratorGitea) Size added in v2.5.0

func (m *PullRequestGeneratorGitea) Size() (n int)

func (*PullRequestGeneratorGitea) String added in v2.5.0

func (this *PullRequestGeneratorGitea) String() string

func (*PullRequestGeneratorGitea) Unmarshal added in v2.5.0

func (m *PullRequestGeneratorGitea) Unmarshal(dAtA []byte) error

func (*PullRequestGeneratorGitea) XXX_DiscardUnknown added in v2.5.0

func (m *PullRequestGeneratorGitea) XXX_DiscardUnknown()

func (*PullRequestGeneratorGitea) XXX_Marshal added in v2.5.0

func (m *PullRequestGeneratorGitea) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PullRequestGeneratorGitea) XXX_Merge added in v2.5.0

func (m *PullRequestGeneratorGitea) XXX_Merge(src proto.Message)

func (*PullRequestGeneratorGitea) XXX_Size added in v2.5.0

func (m *PullRequestGeneratorGitea) XXX_Size() int

func (*PullRequestGeneratorGitea) XXX_Unmarshal added in v2.5.0

func (m *PullRequestGeneratorGitea) XXX_Unmarshal(b []byte) error

type PullRequestGeneratorGithub added in v2.5.0

type PullRequestGeneratorGithub struct {
	// GitHub org or user to scan. Required.
	Owner string `json:"owner" protobuf:"bytes,1,opt,name=owner"`
	// GitHub repo name to scan. Required.
	Repo string `json:"repo" protobuf:"bytes,2,opt,name=repo"`
	// The GitHub API URL to talk to. If blank, use https://api.github.com/.
	API string `json:"api,omitempty" protobuf:"bytes,3,opt,name=api"`
	// Authentication token reference.
	TokenRef *SecretRef `json:"tokenRef,omitempty" protobuf:"bytes,4,opt,name=tokenRef"`
	// AppSecretName is a reference to a GitHub App repo-creds secret with permission to access pull requests.
	AppSecretName string `json:"appSecretName,omitempty" protobuf:"bytes,5,opt,name=appSecretName"`
	// Labels is used to filter the PRs that you want to target
	Labels []string `json:"labels,omitempty" protobuf:"bytes,6,rep,name=labels"`
}

PullRequestGenerator defines connection info specific to GitHub.

func (*PullRequestGeneratorGithub) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestGeneratorGithub.

func (*PullRequestGeneratorGithub) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PullRequestGeneratorGithub) Descriptor added in v2.5.0

func (*PullRequestGeneratorGithub) Descriptor() ([]byte, []int)

func (*PullRequestGeneratorGithub) Marshal added in v2.5.0

func (m *PullRequestGeneratorGithub) Marshal() (dAtA []byte, err error)

func (*PullRequestGeneratorGithub) MarshalTo added in v2.5.0

func (m *PullRequestGeneratorGithub) MarshalTo(dAtA []byte) (int, error)

func (*PullRequestGeneratorGithub) MarshalToSizedBuffer added in v2.5.0

func (m *PullRequestGeneratorGithub) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullRequestGeneratorGithub) ProtoMessage added in v2.5.0

func (*PullRequestGeneratorGithub) ProtoMessage()

func (*PullRequestGeneratorGithub) Reset added in v2.5.0

func (m *PullRequestGeneratorGithub) Reset()

func (*PullRequestGeneratorGithub) Size added in v2.5.0

func (m *PullRequestGeneratorGithub) Size() (n int)

func (*PullRequestGeneratorGithub) String added in v2.5.0

func (this *PullRequestGeneratorGithub) String() string

func (*PullRequestGeneratorGithub) Unmarshal added in v2.5.0

func (m *PullRequestGeneratorGithub) Unmarshal(dAtA []byte) error

func (*PullRequestGeneratorGithub) XXX_DiscardUnknown added in v2.5.0

func (m *PullRequestGeneratorGithub) XXX_DiscardUnknown()

func (*PullRequestGeneratorGithub) XXX_Marshal added in v2.5.0

func (m *PullRequestGeneratorGithub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PullRequestGeneratorGithub) XXX_Merge added in v2.5.0

func (m *PullRequestGeneratorGithub) XXX_Merge(src proto.Message)

func (*PullRequestGeneratorGithub) XXX_Size added in v2.5.0

func (m *PullRequestGeneratorGithub) XXX_Size() int

func (*PullRequestGeneratorGithub) XXX_Unmarshal added in v2.5.0

func (m *PullRequestGeneratorGithub) XXX_Unmarshal(b []byte) error

type RefreshType

type RefreshType string

RefreshType specifies how to refresh the sources of a given application

const (
	RefreshTypeNormal RefreshType = "normal"
	RefreshTypeHard   RefreshType = "hard"
)

type RepoCreds

type RepoCreds struct {
	// URL is the URL that this credentials matches to
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
	// Username for authenticating at the repo server
	Username string `json:"username,omitempty" protobuf:"bytes,2,opt,name=username"`
	// Password for authenticating at the repo server
	Password string `json:"password,omitempty" protobuf:"bytes,3,opt,name=password"`
	// SSHPrivateKey contains the private key data for authenticating at the repo server using SSH (only Git repos)
	SSHPrivateKey string `json:"sshPrivateKey,omitempty" protobuf:"bytes,4,opt,name=sshPrivateKey"`
	// TLSClientCertData specifies the TLS client cert data for authenticating at the repo server
	TLSClientCertData string `json:"tlsClientCertData,omitempty" protobuf:"bytes,5,opt,name=tlsClientCertData"`
	// TLSClientCertKey specifies the TLS client cert key for authenticating at the repo server
	TLSClientCertKey string `json:"tlsClientCertKey,omitempty" protobuf:"bytes,6,opt,name=tlsClientCertKey"`
	// GithubAppPrivateKey specifies the private key PEM data for authentication via GitHub app
	GithubAppPrivateKey string `json:"githubAppPrivateKey,omitempty" protobuf:"bytes,7,opt,name=githubAppPrivateKey"`
	// GithubAppId specifies the Github App ID of the app used to access the repo for GitHub app authentication
	GithubAppId int64 `json:"githubAppID,omitempty" protobuf:"bytes,8,opt,name=githubAppID"`
	// GithubAppInstallationId specifies the ID of the installed GitHub App for GitHub app authentication
	GithubAppInstallationId int64 `json:"githubAppInstallationID,omitempty" protobuf:"bytes,9,opt,name=githubAppInstallationID"`
	// GithubAppEnterpriseBaseURL specifies the GitHub API URL for GitHub app authentication. If empty will default to https://api.github.com
	GitHubAppEnterpriseBaseURL string `json:"githubAppEnterpriseBaseUrl,omitempty" protobuf:"bytes,10,opt,name=githubAppEnterpriseBaseUrl"`
	// EnableOCI specifies whether helm-oci support should be enabled for this repo
	EnableOCI bool `json:"enableOCI,omitempty" protobuf:"bytes,11,opt,name=enableOCI"`
	// Type specifies the type of the repoCreds. Can be either "git" or "helm. "git" is assumed if empty or absent.
	Type string `json:"type,omitempty" protobuf:"bytes,12,opt,name=type"`
}

RepoCreds holds the definition for repository credentials

func (*RepoCreds) DeepCopy

func (in *RepoCreds) DeepCopy() *RepoCreds

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoCreds.

func (*RepoCreds) DeepCopyInto

func (in *RepoCreds) DeepCopyInto(out *RepoCreds)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RepoCreds) Descriptor

func (*RepoCreds) Descriptor() ([]byte, []int)

func (*RepoCreds) Marshal

func (m *RepoCreds) Marshal() (dAtA []byte, err error)

func (*RepoCreds) MarshalTo

func (m *RepoCreds) MarshalTo(dAtA []byte) (int, error)

func (*RepoCreds) MarshalToSizedBuffer

func (m *RepoCreds) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepoCreds) ProtoMessage

func (*RepoCreds) ProtoMessage()

func (*RepoCreds) Reset

func (m *RepoCreds) Reset()

func (*RepoCreds) Size

func (m *RepoCreds) Size() (n int)

func (*RepoCreds) String

func (this *RepoCreds) String() string

func (*RepoCreds) Unmarshal

func (m *RepoCreds) Unmarshal(dAtA []byte) error

func (*RepoCreds) XXX_DiscardUnknown

func (m *RepoCreds) XXX_DiscardUnknown()

func (*RepoCreds) XXX_Marshal

func (m *RepoCreds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoCreds) XXX_Merge

func (m *RepoCreds) XXX_Merge(src proto.Message)

func (*RepoCreds) XXX_Size

func (m *RepoCreds) XXX_Size() int

func (*RepoCreds) XXX_Unmarshal

func (m *RepoCreds) XXX_Unmarshal(b []byte) error

type RepoCredsList

type RepoCredsList struct {
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []RepoCreds `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RepositoryList is a collection of Repositories.

func (*RepoCredsList) DeepCopy

func (in *RepoCredsList) DeepCopy() *RepoCredsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoCredsList.

func (*RepoCredsList) DeepCopyInto

func (in *RepoCredsList) DeepCopyInto(out *RepoCredsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RepoCredsList) Descriptor

func (*RepoCredsList) Descriptor() ([]byte, []int)

func (*RepoCredsList) Marshal

func (m *RepoCredsList) Marshal() (dAtA []byte, err error)

func (*RepoCredsList) MarshalTo

func (m *RepoCredsList) MarshalTo(dAtA []byte) (int, error)

func (*RepoCredsList) MarshalToSizedBuffer

func (m *RepoCredsList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepoCredsList) ProtoMessage

func (*RepoCredsList) ProtoMessage()

func (*RepoCredsList) Reset

func (m *RepoCredsList) Reset()

func (*RepoCredsList) Size

func (m *RepoCredsList) Size() (n int)

func (*RepoCredsList) String

func (this *RepoCredsList) String() string

func (*RepoCredsList) Unmarshal

func (m *RepoCredsList) Unmarshal(dAtA []byte) error

func (*RepoCredsList) XXX_DiscardUnknown

func (m *RepoCredsList) XXX_DiscardUnknown()

func (*RepoCredsList) XXX_Marshal

func (m *RepoCredsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepoCredsList) XXX_Merge

func (m *RepoCredsList) XXX_Merge(src proto.Message)

func (*RepoCredsList) XXX_Size

func (m *RepoCredsList) XXX_Size() int

func (*RepoCredsList) XXX_Unmarshal

func (m *RepoCredsList) XXX_Unmarshal(b []byte) error

type Repositories

type Repositories []*Repository

Repositories defines a list of Repository configurations

func (Repositories) DeepCopy

func (in Repositories) DeepCopy() Repositories

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repositories.

func (Repositories) DeepCopyInto

func (in Repositories) DeepCopyInto(out *Repositories)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Repositories) Filter

func (r Repositories) Filter(predicate func(r *Repository) bool) Repositories

Filter returns a list of repositories, which only contain items matched by the supplied predicate method

type Repository

type Repository struct {
	// Repo contains the URL to the remote repository
	Repo string `json:"repo" protobuf:"bytes,1,opt,name=repo"`
	// Username contains the user name used for authenticating at the remote repository
	Username string `json:"username,omitempty" protobuf:"bytes,2,opt,name=username"`
	// Password contains the password or PAT used for authenticating at the remote repository
	Password string `json:"password,omitempty" protobuf:"bytes,3,opt,name=password"`
	// SSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos.
	SSHPrivateKey string `json:"sshPrivateKey,omitempty" protobuf:"bytes,4,opt,name=sshPrivateKey"`
	// ConnectionState contains information about the current state of connection to the repository server
	ConnectionState ConnectionState `json:"connectionState,omitempty" protobuf:"bytes,5,opt,name=connectionState"`
	// InsecureIgnoreHostKey should not be used anymore, Insecure is favoured
	// Used only for Git repos
	InsecureIgnoreHostKey bool `json:"insecureIgnoreHostKey,omitempty" protobuf:"bytes,6,opt,name=insecureIgnoreHostKey"`
	// Insecure specifies whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys
	Insecure bool `json:"insecure,omitempty" protobuf:"bytes,7,opt,name=insecure"`
	// EnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories.
	EnableLFS bool `json:"enableLfs,omitempty" protobuf:"bytes,8,opt,name=enableLfs"`
	// TLSClientCertData contains a certificate in PEM format for authenticating at the repo server
	TLSClientCertData string `json:"tlsClientCertData,omitempty" protobuf:"bytes,9,opt,name=tlsClientCertData"`
	// TLSClientCertKey contains a private key in PEM format for authenticating at the repo server
	TLSClientCertKey string `json:"tlsClientCertKey,omitempty" protobuf:"bytes,10,opt,name=tlsClientCertKey"`
	// Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
	Type string `json:"type,omitempty" protobuf:"bytes,11,opt,name=type"`
	// Name specifies a name to be used for this repo. Only used with Helm repos
	Name string `json:"name,omitempty" protobuf:"bytes,12,opt,name=name"`
	// Whether credentials were inherited from a credential set
	InheritedCreds bool `json:"inheritedCreds,omitempty" protobuf:"bytes,13,opt,name=inheritedCreds"`
	// EnableOCI specifies whether helm-oci support should be enabled for this repo
	EnableOCI bool `json:"enableOCI,omitempty" protobuf:"bytes,14,opt,name=enableOCI"`
	// Github App Private Key PEM data
	GithubAppPrivateKey string `json:"githubAppPrivateKey,omitempty" protobuf:"bytes,15,opt,name=githubAppPrivateKey"`
	// GithubAppId specifies the ID of the GitHub app used to access the repo
	GithubAppId int64 `json:"githubAppID,omitempty" protobuf:"bytes,16,opt,name=githubAppID"`
	// GithubAppInstallationId specifies the installation ID of the GitHub App used to access the repo
	GithubAppInstallationId int64 `json:"githubAppInstallationID,omitempty" protobuf:"bytes,17,opt,name=githubAppInstallationID"`
	// GithubAppEnterpriseBaseURL specifies the base URL of GitHub Enterprise installation. If empty will default to https://api.github.com
	GitHubAppEnterpriseBaseURL string `json:"githubAppEnterpriseBaseUrl,omitempty" protobuf:"bytes,18,opt,name=githubAppEnterpriseBaseUrl"`
	// Proxy specifies the HTTP/HTTPS proxy used to access the repo
	Proxy string `json:"proxy,omitempty" protobuf:"bytes,19,opt,name=proxy"`
	// Reference between project and repository that allow you automatically to be added as item inside SourceRepos project entity
	Project string `json:"project,omitempty" protobuf:"bytes,20,opt,name=project"`
}

Repository is a repository holding application configurations

func (*Repository) CopyCredentialsFrom

func (repo *Repository) CopyCredentialsFrom(source *RepoCreds)

CopyCredentialsFrom copies credentials from given credential template to receiving repository

func (*Repository) CopyCredentialsFromRepo

func (repo *Repository) CopyCredentialsFromRepo(source *Repository)

CopyCredentialsFromRepo copies all credential information from source repository to receiving repository

func (*Repository) CopySettingsFrom

func (m *Repository) CopySettingsFrom(source *Repository)

CopySettingsFrom copies all repository settings from source to receiver

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) GetGitCreds

func (repo *Repository) GetGitCreds(store git.CredsStore) git.Creds

GetGitCreds returns the credentials from a repository configuration used to authenticate at a Git repository

func (*Repository) GetHelmCreds

func (repo *Repository) GetHelmCreds() helm.Creds

GetHelmCreds returns the credentials from a repository configuration used to authenticate at a Helm repository

func (*Repository) HasCredentials

func (m *Repository) HasCredentials() bool

HasCredentials returns true when the repository has been configured with any credentials

func (*Repository) IsInsecure

func (repo *Repository) IsInsecure() bool

IsInsecure returns true if the repository has been configured to skip server verification

func (*Repository) IsLFSEnabled

func (repo *Repository) IsLFSEnabled() bool

IsLFSEnabled returns true if LFS support is enabled on repository

func (*Repository) Marshal

func (m *Repository) Marshal() (dAtA []byte, err error)

func (*Repository) MarshalTo

func (m *Repository) MarshalTo(dAtA []byte) (int, error)

func (*Repository) MarshalToSizedBuffer

func (m *Repository) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*Repository) XXX_DiscardUnknown

func (m *Repository) XXX_DiscardUnknown()

func (*Repository) XXX_Marshal

func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Repository) XXX_Merge

func (m *Repository) XXX_Merge(src proto.Message)

func (*Repository) XXX_Size

func (m *Repository) XXX_Size() int

func (*Repository) XXX_Unmarshal

func (m *Repository) XXX_Unmarshal(b []byte) error

type RepositoryCertificate

type RepositoryCertificate struct {
	// ServerName specifies the DNS name of the server this certificate is intended for
	ServerName string `json:"serverName" protobuf:"bytes,1,opt,name=serverName"`
	// CertType specifies the type of the certificate - currently one of "https" or "ssh"
	CertType string `json:"certType" protobuf:"bytes,2,opt,name=certType"`
	// CertSubType specifies the sub type of the cert, i.e. "ssh-rsa"
	CertSubType string `json:"certSubType" protobuf:"bytes,3,opt,name=certSubType"`
	// CertData contains the actual certificate data, dependent on the certificate type
	CertData []byte `json:"certData" protobuf:"bytes,4,opt,name=certData"`
	// CertInfo will hold additional certificate info, depdendent on the certificate type (e.g. SSH fingerprint, X509 CommonName)
	CertInfo string `json:"certInfo" protobuf:"bytes,5,opt,name=certInfo"`
}

A RepositoryCertificate is either SSH known hosts entry or TLS certificate

func (*RepositoryCertificate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCertificate.

func (*RepositoryCertificate) DeepCopyInto

func (in *RepositoryCertificate) DeepCopyInto(out *RepositoryCertificate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RepositoryCertificate) Descriptor

func (*RepositoryCertificate) Descriptor() ([]byte, []int)

func (*RepositoryCertificate) Marshal

func (m *RepositoryCertificate) Marshal() (dAtA []byte, err error)

func (*RepositoryCertificate) MarshalTo

func (m *RepositoryCertificate) MarshalTo(dAtA []byte) (int, error)

func (*RepositoryCertificate) MarshalToSizedBuffer

func (m *RepositoryCertificate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepositoryCertificate) ProtoMessage

func (*RepositoryCertificate) ProtoMessage()

func (*RepositoryCertificate) Reset

func (m *RepositoryCertificate) Reset()

func (*RepositoryCertificate) Size

func (m *RepositoryCertificate) Size() (n int)

func (*RepositoryCertificate) String

func (this *RepositoryCertificate) String() string

func (*RepositoryCertificate) Unmarshal

func (m *RepositoryCertificate) Unmarshal(dAtA []byte) error

func (*RepositoryCertificate) XXX_DiscardUnknown

func (m *RepositoryCertificate) XXX_DiscardUnknown()

func (*RepositoryCertificate) XXX_Marshal

func (m *RepositoryCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepositoryCertificate) XXX_Merge

func (m *RepositoryCertificate) XXX_Merge(src proto.Message)

func (*RepositoryCertificate) XXX_Size

func (m *RepositoryCertificate) XXX_Size() int

func (*RepositoryCertificate) XXX_Unmarshal

func (m *RepositoryCertificate) XXX_Unmarshal(b []byte) error

type RepositoryCertificateList

type RepositoryCertificateList struct {
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// List of certificates to be processed
	Items []RepositoryCertificate `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RepositoryCertificateList is a collection of RepositoryCertificates

func (*RepositoryCertificateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCertificateList.

func (*RepositoryCertificateList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RepositoryCertificateList) Descriptor

func (*RepositoryCertificateList) Descriptor() ([]byte, []int)

func (*RepositoryCertificateList) Marshal

func (m *RepositoryCertificateList) Marshal() (dAtA []byte, err error)

func (*RepositoryCertificateList) MarshalTo

func (m *RepositoryCertificateList) MarshalTo(dAtA []byte) (int, error)

func (*RepositoryCertificateList) MarshalToSizedBuffer

func (m *RepositoryCertificateList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RepositoryCertificateList) ProtoMessage

func (*RepositoryCertificateList) ProtoMessage()

func (*RepositoryCertificateList) Reset

func (m *RepositoryCertificateList) Reset()

func (*RepositoryCertificateList) Size

func (m *RepositoryCertificateList) Size() (n int)

func (*RepositoryCertificateList) String

func (this *RepositoryCertificateList) String() string

func (*RepositoryCertificateList) Unmarshal

func (m *RepositoryCertificateList) Unmarshal(dAtA []byte) error

func (*RepositoryCertificateList) XXX_DiscardUnknown

func (m *RepositoryCertificateList) XXX_DiscardUnknown()

func (*RepositoryCertificateList) XXX_Marshal

func (m *RepositoryCertificateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepositoryCertificateList) XXX_Merge

func (m *RepositoryCertificateList) XXX_Merge(src proto.Message)

func (*RepositoryCertificateList) XXX_Size

func (m *RepositoryCertificateList) XXX_Size() int

func (*RepositoryCertificateList) XXX_Unmarshal

func (m *RepositoryCertificateList) XXX_Unmarshal(b []byte) error

type RepositoryList

type RepositoryList struct {
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           Repositories `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) MarshalTo

func (m *RepositoryList) MarshalTo(dAtA []byte) (int, error)

func (*RepositoryList) MarshalToSizedBuffer

func (m *RepositoryList) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*RepositoryList) XXX_DiscardUnknown

func (m *RepositoryList) XXX_DiscardUnknown()

func (*RepositoryList) XXX_Marshal

func (m *RepositoryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepositoryList) XXX_Merge

func (m *RepositoryList) XXX_Merge(src proto.Message)

func (*RepositoryList) XXX_Size

func (m *RepositoryList) XXX_Size() int

func (*RepositoryList) XXX_Unmarshal

func (m *RepositoryList) XXX_Unmarshal(b []byte) error

type ResourceAction

type ResourceAction struct {
	Name     string                `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	Params   []ResourceActionParam `json:"params,omitempty" protobuf:"bytes,2,rep,name=params"`
	Disabled bool                  `json:"disabled,omitempty" protobuf:"varint,3,opt,name=disabled"`
}

TODO: describe this type TODO: describe members of this type

func (*ResourceAction) DeepCopy

func (in *ResourceAction) DeepCopy() *ResourceAction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAction.

func (*ResourceAction) DeepCopyInto

func (in *ResourceAction) DeepCopyInto(out *ResourceAction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceAction) Descriptor

func (*ResourceAction) Descriptor() ([]byte, []int)

func (*ResourceAction) Marshal

func (m *ResourceAction) Marshal() (dAtA []byte, err error)

func (*ResourceAction) MarshalTo

func (m *ResourceAction) MarshalTo(dAtA []byte) (int, error)

func (*ResourceAction) MarshalToSizedBuffer

func (m *ResourceAction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceAction) ProtoMessage

func (*ResourceAction) ProtoMessage()

func (*ResourceAction) Reset

func (m *ResourceAction) Reset()

func (*ResourceAction) Size

func (m *ResourceAction) Size() (n int)

func (*ResourceAction) String

func (this *ResourceAction) String() string

func (*ResourceAction) Unmarshal

func (m *ResourceAction) Unmarshal(dAtA []byte) error

func (*ResourceAction) XXX_DiscardUnknown

func (m *ResourceAction) XXX_DiscardUnknown()

func (*ResourceAction) XXX_Marshal

func (m *ResourceAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceAction) XXX_Merge

func (m *ResourceAction) XXX_Merge(src proto.Message)

func (*ResourceAction) XXX_Size

func (m *ResourceAction) XXX_Size() int

func (*ResourceAction) XXX_Unmarshal

func (m *ResourceAction) XXX_Unmarshal(b []byte) error

type ResourceActionDefinition

type ResourceActionDefinition struct {
	Name      string `json:"name" protobuf:"bytes,1,opt,name=name"`
	ActionLua string `json:"action.lua" yaml:"action.lua" protobuf:"bytes,2,opt,name=actionLua"`
}

TODO: describe this type TODO: describe members of this type

func (*ResourceActionDefinition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceActionDefinition.

func (*ResourceActionDefinition) DeepCopyInto

func (in *ResourceActionDefinition) DeepCopyInto(out *ResourceActionDefinition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceActionDefinition) Descriptor

func (*ResourceActionDefinition) Descriptor() ([]byte, []int)

func (*ResourceActionDefinition) Marshal

func (m *ResourceActionDefinition) Marshal() (dAtA []byte, err error)

func (*ResourceActionDefinition) MarshalTo

func (m *ResourceActionDefinition) MarshalTo(dAtA []byte) (int, error)

func (*ResourceActionDefinition) MarshalToSizedBuffer

func (m *ResourceActionDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceActionDefinition) ProtoMessage

func (*ResourceActionDefinition) ProtoMessage()

func (*ResourceActionDefinition) Reset

func (m *ResourceActionDefinition) Reset()

func (*ResourceActionDefinition) Size

func (m *ResourceActionDefinition) Size() (n int)

func (*ResourceActionDefinition) String

func (this *ResourceActionDefinition) String() string

func (*ResourceActionDefinition) Unmarshal

func (m *ResourceActionDefinition) Unmarshal(dAtA []byte) error

func (*ResourceActionDefinition) XXX_DiscardUnknown

func (m *ResourceActionDefinition) XXX_DiscardUnknown()

func (*ResourceActionDefinition) XXX_Marshal

func (m *ResourceActionDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceActionDefinition) XXX_Merge

func (m *ResourceActionDefinition) XXX_Merge(src proto.Message)

func (*ResourceActionDefinition) XXX_Size

func (m *ResourceActionDefinition) XXX_Size() int

func (*ResourceActionDefinition) XXX_Unmarshal

func (m *ResourceActionDefinition) XXX_Unmarshal(b []byte) error

type ResourceActionParam

type ResourceActionParam struct {
	Name    string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	Value   string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
	Type    string `json:"type,omitempty" protobuf:"bytes,3,opt,name=type"`
	Default string `json:"default,omitempty" protobuf:"bytes,4,opt,name=default"`
}

TODO: describe this type TODO: describe members of this type

func (*ResourceActionParam) DeepCopy

func (in *ResourceActionParam) DeepCopy() *ResourceActionParam

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceActionParam.

func (*ResourceActionParam) DeepCopyInto

func (in *ResourceActionParam) DeepCopyInto(out *ResourceActionParam)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceActionParam) Descriptor

func (*ResourceActionParam) Descriptor() ([]byte, []int)

func (*ResourceActionParam) Marshal

func (m *ResourceActionParam) Marshal() (dAtA []byte, err error)

func (*ResourceActionParam) MarshalTo

func (m *ResourceActionParam) MarshalTo(dAtA []byte) (int, error)

func (*ResourceActionParam) MarshalToSizedBuffer

func (m *ResourceActionParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceActionParam) ProtoMessage

func (*ResourceActionParam) ProtoMessage()

func (*ResourceActionParam) Reset

func (m *ResourceActionParam) Reset()

func (*ResourceActionParam) Size

func (m *ResourceActionParam) Size() (n int)

func (*ResourceActionParam) String

func (this *ResourceActionParam) String() string

func (*ResourceActionParam) Unmarshal

func (m *ResourceActionParam) Unmarshal(dAtA []byte) error

func (*ResourceActionParam) XXX_DiscardUnknown

func (m *ResourceActionParam) XXX_DiscardUnknown()

func (*ResourceActionParam) XXX_Marshal

func (m *ResourceActionParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceActionParam) XXX_Merge

func (m *ResourceActionParam) XXX_Merge(src proto.Message)

func (*ResourceActionParam) XXX_Size

func (m *ResourceActionParam) XXX_Size() int

func (*ResourceActionParam) XXX_Unmarshal

func (m *ResourceActionParam) XXX_Unmarshal(b []byte) error

type ResourceActions

type ResourceActions struct {
	ActionDiscoveryLua string                     `json:"discovery.lua,omitempty" yaml:"discovery.lua,omitempty" protobuf:"bytes,1,opt,name=actionDiscoveryLua"`
	Definitions        []ResourceActionDefinition `json:"definitions,omitempty" protobuf:"bytes,2,rep,name=definitions"`
}

TODO: describe this type TODO: describe members of this type

func (*ResourceActions) DeepCopy

func (in *ResourceActions) DeepCopy() *ResourceActions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceActions.

func (*ResourceActions) DeepCopyInto

func (in *ResourceActions) DeepCopyInto(out *ResourceActions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceActions) Descriptor

func (*ResourceActions) Descriptor() ([]byte, []int)

func (*ResourceActions) Marshal

func (m *ResourceActions) Marshal() (dAtA []byte, err error)

func (*ResourceActions) MarshalTo

func (m *ResourceActions) MarshalTo(dAtA []byte) (int, error)

func (*ResourceActions) MarshalToSizedBuffer

func (m *ResourceActions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceActions) ProtoMessage

func (*ResourceActions) ProtoMessage()

func (*ResourceActions) Reset

func (m *ResourceActions) Reset()

func (*ResourceActions) Size

func (m *ResourceActions) Size() (n int)

func (*ResourceActions) String

func (this *ResourceActions) String() string

func (*ResourceActions) Unmarshal

func (m *ResourceActions) Unmarshal(dAtA []byte) error

func (*ResourceActions) XXX_DiscardUnknown

func (m *ResourceActions) XXX_DiscardUnknown()

func (*ResourceActions) XXX_Marshal

func (m *ResourceActions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceActions) XXX_Merge

func (m *ResourceActions) XXX_Merge(src proto.Message)

func (*ResourceActions) XXX_Size

func (m *ResourceActions) XXX_Size() int

func (*ResourceActions) XXX_Unmarshal

func (m *ResourceActions) XXX_Unmarshal(b []byte) error

type ResourceDiff

type ResourceDiff struct {
	Group     string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
	Kind      string `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"`
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`
	Name      string `json:"name,omitempty" protobuf:"bytes,4,opt,name=name"`
	// TargetState contains the JSON serialized resource manifest defined in the Git/Helm
	TargetState string `json:"targetState,omitempty" protobuf:"bytes,5,opt,name=targetState"`
	// TargetState contains the JSON live resource manifest
	LiveState string `json:"liveState,omitempty" protobuf:"bytes,6,opt,name=liveState"`
	// Diff contains the JSON patch between target and live resource
	// Deprecated: use NormalizedLiveState and PredictedLiveState to render the difference
	Diff string `json:"diff,omitempty" protobuf:"bytes,7,opt,name=diff"`
	Hook bool   `json:"hook,omitempty" protobuf:"bytes,8,opt,name=hook"`
	// NormalizedLiveState contains JSON serialized live resource state with applied normalizations
	NormalizedLiveState string `json:"normalizedLiveState,omitempty" protobuf:"bytes,9,opt,name=normalizedLiveState"`
	// PredictedLiveState contains JSON serialized resource state that is calculated based on normalized and target resource state
	PredictedLiveState string `json:"predictedLiveState,omitempty" protobuf:"bytes,10,opt,name=predictedLiveState"`
	ResourceVersion    string `json:"resourceVersion,omitempty" protobuf:"bytes,11,opt,name=resourceVersion"`
	Modified           bool   `json:"modified,omitempty" protobuf:"bytes,12,opt,name=modified"`
}

ResourceDiff holds the diff of a live and target resource object TODO: describe members of this type

func (*ResourceDiff) DeepCopy

func (in *ResourceDiff) DeepCopy() *ResourceDiff

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDiff.

func (*ResourceDiff) DeepCopyInto

func (in *ResourceDiff) DeepCopyInto(out *ResourceDiff)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceDiff) Descriptor

func (*ResourceDiff) Descriptor() ([]byte, []int)

func (*ResourceDiff) FullName

func (r *ResourceDiff) FullName() string

FullName returns full name of a node that was used for diffing in the format "group/kind/namespace/name" For cluster-scoped resources, namespace will be the empty string.

func (ResourceDiff) LiveObject

func (r ResourceDiff) LiveObject() (*unstructured.Unstructured, error)

TODO: document this method

func (*ResourceDiff) Marshal

func (m *ResourceDiff) Marshal() (dAtA []byte, err error)

func (*ResourceDiff) MarshalTo

func (m *ResourceDiff) MarshalTo(dAtA []byte) (int, error)

func (*ResourceDiff) MarshalToSizedBuffer

func (m *ResourceDiff) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceDiff) ProtoMessage

func (*ResourceDiff) ProtoMessage()

func (*ResourceDiff) Reset

func (m *ResourceDiff) Reset()

func (*ResourceDiff) Size

func (m *ResourceDiff) Size() (n int)

func (*ResourceDiff) String

func (this *ResourceDiff) String() string

func (ResourceDiff) TargetObject

func (r ResourceDiff) TargetObject() (*unstructured.Unstructured, error)

TODO: document this method

func (*ResourceDiff) Unmarshal

func (m *ResourceDiff) Unmarshal(dAtA []byte) error

func (*ResourceDiff) XXX_DiscardUnknown

func (m *ResourceDiff) XXX_DiscardUnknown()

func (*ResourceDiff) XXX_Marshal

func (m *ResourceDiff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceDiff) XXX_Merge

func (m *ResourceDiff) XXX_Merge(src proto.Message)

func (*ResourceDiff) XXX_Size

func (m *ResourceDiff) XXX_Size() int

func (*ResourceDiff) XXX_Unmarshal

func (m *ResourceDiff) XXX_Unmarshal(b []byte) error

type ResourceHealthLocation added in v2.5.0

type ResourceHealthLocation string
var (
	ResourceHealthLocationInline  ResourceHealthLocation = ""
	ResourceHealthLocationAppTree ResourceHealthLocation = "appTree"
)

type ResourceIgnoreDifferences

type ResourceIgnoreDifferences struct {
	Group             string   `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
	Kind              string   `json:"kind" protobuf:"bytes,2,opt,name=kind"`
	Name              string   `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"`
	Namespace         string   `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"`
	JSONPointers      []string `json:"jsonPointers,omitempty" protobuf:"bytes,5,opt,name=jsonPointers"`
	JQPathExpressions []string `json:"jqPathExpressions,omitempty" protobuf:"bytes,6,opt,name=jqPathExpressions"`
	// ManagedFieldsManagers is a list of trusted managers. Fields mutated by those managers will take precedence over the
	// desired state defined in the SCM and won't be displayed in diffs
	ManagedFieldsManagers []string `json:"managedFieldsManagers,omitempty" protobuf:"bytes,7,opt,name=managedFieldsManagers"`
}

ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state.

func (*ResourceIgnoreDifferences) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceIgnoreDifferences.

func (*ResourceIgnoreDifferences) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceIgnoreDifferences) Descriptor

func (*ResourceIgnoreDifferences) Descriptor() ([]byte, []int)

func (*ResourceIgnoreDifferences) Marshal

func (m *ResourceIgnoreDifferences) Marshal() (dAtA []byte, err error)

func (*ResourceIgnoreDifferences) MarshalTo

func (m *ResourceIgnoreDifferences) MarshalTo(dAtA []byte) (int, error)

func (*ResourceIgnoreDifferences) MarshalToSizedBuffer

func (m *ResourceIgnoreDifferences) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceIgnoreDifferences) ProtoMessage

func (*ResourceIgnoreDifferences) ProtoMessage()

func (*ResourceIgnoreDifferences) Reset

func (m *ResourceIgnoreDifferences) Reset()

func (*ResourceIgnoreDifferences) Size

func (m *ResourceIgnoreDifferences) Size() (n int)

func (*ResourceIgnoreDifferences) String

func (this *ResourceIgnoreDifferences) String() string

func (*ResourceIgnoreDifferences) Unmarshal

func (m *ResourceIgnoreDifferences) Unmarshal(dAtA []byte) error

func (*ResourceIgnoreDifferences) XXX_DiscardUnknown

func (m *ResourceIgnoreDifferences) XXX_DiscardUnknown()

func (*ResourceIgnoreDifferences) XXX_Marshal

func (m *ResourceIgnoreDifferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceIgnoreDifferences) XXX_Merge

func (m *ResourceIgnoreDifferences) XXX_Merge(src proto.Message)

func (*ResourceIgnoreDifferences) XXX_Size

func (m *ResourceIgnoreDifferences) XXX_Size() int

func (*ResourceIgnoreDifferences) XXX_Unmarshal

func (m *ResourceIgnoreDifferences) XXX_Unmarshal(b []byte) error

type ResourceNetworkingInfo

type ResourceNetworkingInfo struct {
	TargetLabels map[string]string        `json:"targetLabels,omitempty" protobuf:"bytes,1,opt,name=targetLabels"`
	TargetRefs   []ResourceRef            `json:"targetRefs,omitempty" protobuf:"bytes,2,opt,name=targetRefs"`
	Labels       map[string]string        `json:"labels,omitempty" protobuf:"bytes,3,opt,name=labels"`
	Ingress      []v1.LoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,4,opt,name=ingress"`
	// ExternalURLs holds list of URLs which should be available externally. List is populated for ingress resources using rules hostnames.
	ExternalURLs []string `json:"externalURLs,omitempty" protobuf:"bytes,5,opt,name=externalURLs"`
}

ResourceNetworkingInfo holds networking resource related information TODO: describe members of this type

func (*ResourceNetworkingInfo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceNetworkingInfo.

func (*ResourceNetworkingInfo) DeepCopyInto

func (in *ResourceNetworkingInfo) DeepCopyInto(out *ResourceNetworkingInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceNetworkingInfo) Descriptor

func (*ResourceNetworkingInfo) Descriptor() ([]byte, []int)

func (*ResourceNetworkingInfo) Marshal

func (m *ResourceNetworkingInfo) Marshal() (dAtA []byte, err error)

func (*ResourceNetworkingInfo) MarshalTo

func (m *ResourceNetworkingInfo) MarshalTo(dAtA []byte) (int, error)

func (*ResourceNetworkingInfo) MarshalToSizedBuffer

func (m *ResourceNetworkingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceNetworkingInfo) ProtoMessage

func (*ResourceNetworkingInfo) ProtoMessage()

func (*ResourceNetworkingInfo) Reset

func (m *ResourceNetworkingInfo) Reset()

func (*ResourceNetworkingInfo) Size

func (m *ResourceNetworkingInfo) Size() (n int)

func (*ResourceNetworkingInfo) String

func (this *ResourceNetworkingInfo) String() string

func (*ResourceNetworkingInfo) Unmarshal

func (m *ResourceNetworkingInfo) Unmarshal(dAtA []byte) error

func (*ResourceNetworkingInfo) XXX_DiscardUnknown

func (m *ResourceNetworkingInfo) XXX_DiscardUnknown()

func (*ResourceNetworkingInfo) XXX_Marshal

func (m *ResourceNetworkingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceNetworkingInfo) XXX_Merge

func (m *ResourceNetworkingInfo) XXX_Merge(src proto.Message)

func (*ResourceNetworkingInfo) XXX_Size

func (m *ResourceNetworkingInfo) XXX_Size() int

func (*ResourceNetworkingInfo) XXX_Unmarshal

func (m *ResourceNetworkingInfo) XXX_Unmarshal(b []byte) error

type ResourceNode

type ResourceNode struct {
	ResourceRef     `json:",inline" protobuf:"bytes,1,opt,name=resourceRef"`
	ParentRefs      []ResourceRef           `json:"parentRefs,omitempty" protobuf:"bytes,2,opt,name=parentRefs"`
	Info            []InfoItem              `json:"info,omitempty" protobuf:"bytes,3,opt,name=info"`
	NetworkingInfo  *ResourceNetworkingInfo `json:"networkingInfo,omitempty" protobuf:"bytes,4,opt,name=networkingInfo"`
	ResourceVersion string                  `json:"resourceVersion,omitempty" protobuf:"bytes,5,opt,name=resourceVersion"`
	Images          []string                `json:"images,omitempty" protobuf:"bytes,6,opt,name=images"`
	Health          *HealthStatus           `json:"health,omitempty" protobuf:"bytes,7,opt,name=health"`
	CreatedAt       *metav1.Time            `json:"createdAt,omitempty" protobuf:"bytes,8,opt,name=createdAt"`
}

ResourceNode contains information about live resource and its children TODO: describe members of this type

func (*ResourceNode) DeepCopy

func (in *ResourceNode) DeepCopy() *ResourceNode

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceNode.

func (*ResourceNode) DeepCopyInto

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

func (*ResourceNode) Descriptor() ([]byte, []int)

func (*ResourceNode) FullName

func (n *ResourceNode) FullName() string

FullName returns a resource node's full name in the format "group/kind/namespace/name" For cluster-scoped resources, namespace will be the empty string.

func (*ResourceNode) GroupKindVersion

func (n *ResourceNode) GroupKindVersion() schema.GroupVersionKind

GroupKindVersion returns the GVK schema type for given resource node

func (*ResourceNode) Marshal

func (m *ResourceNode) Marshal() (dAtA []byte, err error)

func (*ResourceNode) MarshalTo

func (m *ResourceNode) MarshalTo(dAtA []byte) (int, error)

func (*ResourceNode) MarshalToSizedBuffer

func (m *ResourceNode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceNode) ProtoMessage

func (*ResourceNode) ProtoMessage()

func (*ResourceNode) Reset

func (m *ResourceNode) Reset()

func (*ResourceNode) Size

func (m *ResourceNode) Size() (n int)

func (*ResourceNode) String

func (this *ResourceNode) String() string

func (*ResourceNode) Unmarshal

func (m *ResourceNode) Unmarshal(dAtA []byte) error

func (*ResourceNode) XXX_DiscardUnknown

func (m *ResourceNode) XXX_DiscardUnknown()

func (*ResourceNode) XXX_Marshal

func (m *ResourceNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceNode) XXX_Merge

func (m *ResourceNode) XXX_Merge(src proto.Message)

func (*ResourceNode) XXX_Size

func (m *ResourceNode) XXX_Size() int

func (*ResourceNode) XXX_Unmarshal

func (m *ResourceNode) XXX_Unmarshal(b []byte) error

type ResourceOverride

type ResourceOverride struct {
	HealthLua         string             `protobuf:"bytes,1,opt,name=healthLua"`
	UseOpenLibs       bool               `protobuf:"bytes,5,opt,name=useOpenLibs"`
	Actions           string             `protobuf:"bytes,3,opt,name=actions"`
	IgnoreDifferences OverrideIgnoreDiff `protobuf:"bytes,2,opt,name=ignoreDifferences"`
	KnownTypeFields   []KnownTypeField   `protobuf:"bytes,4,opt,name=knownTypeFields"`
}

ResourceOverride holds configuration to customize resource diffing and health assessment TODO: describe the members of this type

func (*ResourceOverride) DeepCopy

func (in *ResourceOverride) DeepCopy() *ResourceOverride

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceOverride.

func (*ResourceOverride) DeepCopyInto

func (in *ResourceOverride) DeepCopyInto(out *ResourceOverride)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceOverride) Descriptor

func (*ResourceOverride) Descriptor() ([]byte, []int)

func (*ResourceOverride) GetActions

func (o *ResourceOverride) GetActions() (ResourceActions, error)

TODO: describe this method

func (*ResourceOverride) Marshal

func (m *ResourceOverride) Marshal() (dAtA []byte, err error)

func (ResourceOverride) MarshalJSON

func (s ResourceOverride) MarshalJSON() ([]byte, error)

TODO: describe this method

func (*ResourceOverride) MarshalTo

func (m *ResourceOverride) MarshalTo(dAtA []byte) (int, error)

func (*ResourceOverride) MarshalToSizedBuffer

func (m *ResourceOverride) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceOverride) ProtoMessage

func (*ResourceOverride) ProtoMessage()

func (*ResourceOverride) Reset

func (m *ResourceOverride) Reset()

func (*ResourceOverride) Size

func (m *ResourceOverride) Size() (n int)

func (*ResourceOverride) String

func (this *ResourceOverride) String() string

func (*ResourceOverride) Unmarshal

func (m *ResourceOverride) Unmarshal(dAtA []byte) error

func (*ResourceOverride) UnmarshalJSON

func (s *ResourceOverride) UnmarshalJSON(data []byte) error

TODO: describe this method

func (*ResourceOverride) XXX_DiscardUnknown

func (m *ResourceOverride) XXX_DiscardUnknown()

func (*ResourceOverride) XXX_Marshal

func (m *ResourceOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceOverride) XXX_Merge

func (m *ResourceOverride) XXX_Merge(src proto.Message)

func (*ResourceOverride) XXX_Size

func (m *ResourceOverride) XXX_Size() int

func (*ResourceOverride) XXX_Unmarshal

func (m *ResourceOverride) XXX_Unmarshal(b []byte) error

type ResourceRef

type ResourceRef struct {
	Group     string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
	Version   string `json:"version,omitempty" protobuf:"bytes,2,opt,name=version"`
	Kind      string `json:"kind,omitempty" protobuf:"bytes,3,opt,name=kind"`
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"`
	Name      string `json:"name,omitempty" protobuf:"bytes,5,opt,name=name"`
	UID       string `json:"uid,omitempty" protobuf:"bytes,6,opt,name=uid"`
}

ResourceRef includes fields which uniquely identify a resource

func (*ResourceRef) DeepCopy

func (in *ResourceRef) DeepCopy() *ResourceRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRef.

func (*ResourceRef) DeepCopyInto

func (in *ResourceRef) DeepCopyInto(out *ResourceRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceRef) Descriptor

func (*ResourceRef) Descriptor() ([]byte, []int)

func (*ResourceRef) Marshal

func (m *ResourceRef) Marshal() (dAtA []byte, err error)

func (*ResourceRef) MarshalTo

func (m *ResourceRef) MarshalTo(dAtA []byte) (int, error)

func (*ResourceRef) MarshalToSizedBuffer

func (m *ResourceRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceRef) ProtoMessage

func (*ResourceRef) ProtoMessage()

func (*ResourceRef) Reset

func (m *ResourceRef) Reset()

func (*ResourceRef) Size

func (m *ResourceRef) Size() (n int)

func (*ResourceRef) String

func (this *ResourceRef) String() string

func (*ResourceRef) Unmarshal

func (m *ResourceRef) Unmarshal(dAtA []byte) error

func (*ResourceRef) XXX_DiscardUnknown

func (m *ResourceRef) XXX_DiscardUnknown()

func (*ResourceRef) XXX_Marshal

func (m *ResourceRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceRef) XXX_Merge

func (m *ResourceRef) XXX_Merge(src proto.Message)

func (*ResourceRef) XXX_Size

func (m *ResourceRef) XXX_Size() int

func (*ResourceRef) XXX_Unmarshal

func (m *ResourceRef) XXX_Unmarshal(b []byte) error

type ResourceResult

type ResourceResult struct {
	// Group specifies the API group of the resource
	Group string `json:"group" protobuf:"bytes,1,opt,name=group"`
	// Version specifies the API version of the resource
	Version string `json:"version" protobuf:"bytes,2,opt,name=version"`
	// Kind specifies the API kind of the resource
	Kind string `json:"kind" protobuf:"bytes,3,opt,name=kind"`
	// Namespace specifies the target namespace of the resource
	Namespace string `json:"namespace" protobuf:"bytes,4,opt,name=namespace"`
	// Name specifies the name of the resource
	Name string `json:"name" protobuf:"bytes,5,opt,name=name"`
	// Status holds the final result of the sync. Will be empty if the resources is yet to be applied/pruned and is always zero-value for hooks
	Status synccommon.ResultCode `json:"status,omitempty" protobuf:"bytes,6,opt,name=status"`
	// Message contains an informational or error message for the last sync OR operation
	Message string `json:"message,omitempty" protobuf:"bytes,7,opt,name=message"`
	// HookType specifies the type of the hook. Empty for non-hook resources
	HookType synccommon.HookType `json:"hookType,omitempty" protobuf:"bytes,8,opt,name=hookType"`
	// HookPhase contains the state of any operation associated with this resource OR hook
	// This can also contain values for non-hook resources.
	HookPhase synccommon.OperationPhase `json:"hookPhase,omitempty" protobuf:"bytes,9,opt,name=hookPhase"`
	// SyncPhase indicates the particular phase of the sync that this result was acquired in
	SyncPhase synccommon.SyncPhase `json:"syncPhase,omitempty" protobuf:"bytes,10,opt,name=syncPhase"`
}

ResourceResult holds the operation result details of a specific resource

func (*ResourceResult) DeepCopy

func (in *ResourceResult) DeepCopy() *ResourceResult

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceResult.

func (*ResourceResult) DeepCopyInto

func (in *ResourceResult) DeepCopyInto(out *ResourceResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceResult) Descriptor

func (*ResourceResult) Descriptor() ([]byte, []int)

func (*ResourceResult) GroupVersionKind

func (r *ResourceResult) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns the GVK schema information for a given resource within a sync result

func (*ResourceResult) Marshal

func (m *ResourceResult) Marshal() (dAtA []byte, err error)

func (*ResourceResult) MarshalTo

func (m *ResourceResult) MarshalTo(dAtA []byte) (int, error)

func (*ResourceResult) MarshalToSizedBuffer

func (m *ResourceResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceResult) ProtoMessage

func (*ResourceResult) ProtoMessage()

func (*ResourceResult) Reset

func (m *ResourceResult) Reset()

func (*ResourceResult) Size

func (m *ResourceResult) Size() (n int)

func (*ResourceResult) String

func (this *ResourceResult) String() string

func (*ResourceResult) Unmarshal

func (m *ResourceResult) Unmarshal(dAtA []byte) error

func (*ResourceResult) XXX_DiscardUnknown

func (m *ResourceResult) XXX_DiscardUnknown()

func (*ResourceResult) XXX_Marshal

func (m *ResourceResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceResult) XXX_Merge

func (m *ResourceResult) XXX_Merge(src proto.Message)

func (*ResourceResult) XXX_Size

func (m *ResourceResult) XXX_Size() int

func (*ResourceResult) XXX_Unmarshal

func (m *ResourceResult) XXX_Unmarshal(b []byte) error

type ResourceResults

type ResourceResults []*ResourceResult

ResourceResults defines a list of resource results for a given operation

func (ResourceResults) DeepCopy

func (in ResourceResults) DeepCopy() ResourceResults

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceResults.

func (ResourceResults) DeepCopyInto

func (in ResourceResults) DeepCopyInto(out *ResourceResults)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ResourceResults) Find

func (r ResourceResults) Find(group string, kind string, namespace string, name string, phase synccommon.SyncPhase) (int, *ResourceResult)

Find returns the operation result for a specified resource and the index in the list where it was found

func (ResourceResults) PruningRequired

func (r ResourceResults) PruningRequired() (num int)

PruningRequired returns a positive integer containing the number of resources that require pruning after an operation has been completed

type ResourceStatus

type ResourceStatus struct {
	Group           string         `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
	Version         string         `json:"version,omitempty" protobuf:"bytes,2,opt,name=version"`
	Kind            string         `json:"kind,omitempty" protobuf:"bytes,3,opt,name=kind"`
	Namespace       string         `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"`
	Name            string         `json:"name,omitempty" protobuf:"bytes,5,opt,name=name"`
	Status          SyncStatusCode `json:"status,omitempty" protobuf:"bytes,6,opt,name=status"`
	Health          *HealthStatus  `json:"health,omitempty" protobuf:"bytes,7,opt,name=health"`
	Hook            bool           `json:"hook,omitempty" protobuf:"bytes,8,opt,name=hook"`
	RequiresPruning bool           `json:"requiresPruning,omitempty" protobuf:"bytes,9,opt,name=requiresPruning"`
	SyncWave        int64          `json:"syncWave,omitempty" protobuf:"bytes,10,opt,name=syncWave"`
}

ResourceStatus holds the current sync and health status of a resource TODO: describe members of this type

func (*ResourceStatus) DeepCopy

func (in *ResourceStatus) DeepCopy() *ResourceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceStatus.

func (*ResourceStatus) DeepCopyInto

func (in *ResourceStatus) DeepCopyInto(out *ResourceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceStatus) Descriptor

func (*ResourceStatus) Descriptor() ([]byte, []int)

func (*ResourceStatus) GroupVersionKind

func (r *ResourceStatus) GroupVersionKind() schema.GroupVersionKind

GroupKindVersion returns the GVK schema type for given resource status

func (*ResourceStatus) Marshal

func (m *ResourceStatus) Marshal() (dAtA []byte, err error)

func (*ResourceStatus) MarshalTo

func (m *ResourceStatus) MarshalTo(dAtA []byte) (int, error)

func (*ResourceStatus) MarshalToSizedBuffer

func (m *ResourceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceStatus) ProtoMessage

func (*ResourceStatus) ProtoMessage()

func (*ResourceStatus) Reset

func (m *ResourceStatus) Reset()

func (*ResourceStatus) Size

func (m *ResourceStatus) Size() (n int)

func (*ResourceStatus) String

func (this *ResourceStatus) String() string

func (*ResourceStatus) Unmarshal

func (m *ResourceStatus) Unmarshal(dAtA []byte) error

func (*ResourceStatus) XXX_DiscardUnknown

func (m *ResourceStatus) XXX_DiscardUnknown()

func (*ResourceStatus) XXX_Marshal

func (m *ResourceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceStatus) XXX_Merge

func (m *ResourceStatus) XXX_Merge(src proto.Message)

func (*ResourceStatus) XXX_Size

func (m *ResourceStatus) XXX_Size() int

func (*ResourceStatus) XXX_Unmarshal

func (m *ResourceStatus) XXX_Unmarshal(b []byte) error

type RetryStrategy

type RetryStrategy struct {
	// Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
	Limit int64 `json:"limit,omitempty" protobuf:"bytes,1,opt,name=limit"`
	// Backoff controls how to backoff on subsequent retries of failed syncs
	Backoff *Backoff `json:"backoff,omitempty" protobuf:"bytes,2,opt,name=backoff,casttype=Backoff"`
}

RetryStrategy contains information about the strategy to apply when a sync failed

func (*RetryStrategy) DeepCopy

func (in *RetryStrategy) DeepCopy() *RetryStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryStrategy.

func (*RetryStrategy) DeepCopyInto

func (in *RetryStrategy) DeepCopyInto(out *RetryStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RetryStrategy) Descriptor

func (*RetryStrategy) Descriptor() ([]byte, []int)

func (*RetryStrategy) Marshal

func (m *RetryStrategy) Marshal() (dAtA []byte, err error)

func (*RetryStrategy) MarshalTo

func (m *RetryStrategy) MarshalTo(dAtA []byte) (int, error)

func (*RetryStrategy) MarshalToSizedBuffer

func (m *RetryStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RetryStrategy) NextRetryAt

func (r *RetryStrategy) NextRetryAt(lastAttempt time.Time, retryCounts int64) (time.Time, error)

NextRetryAt calculates the earliest time the next retry should be performed on a failing sync

func (*RetryStrategy) ProtoMessage

func (*RetryStrategy) ProtoMessage()

func (*RetryStrategy) Reset

func (m *RetryStrategy) Reset()

func (*RetryStrategy) Size

func (m *RetryStrategy) Size() (n int)

func (*RetryStrategy) String

func (this *RetryStrategy) String() string

func (*RetryStrategy) Unmarshal

func (m *RetryStrategy) Unmarshal(dAtA []byte) error

func (*RetryStrategy) XXX_DiscardUnknown

func (m *RetryStrategy) XXX_DiscardUnknown()

func (*RetryStrategy) XXX_Marshal

func (m *RetryStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RetryStrategy) XXX_Merge

func (m *RetryStrategy) XXX_Merge(src proto.Message)

func (*RetryStrategy) XXX_Size

func (m *RetryStrategy) XXX_Size() int

func (*RetryStrategy) XXX_Unmarshal

func (m *RetryStrategy) XXX_Unmarshal(b []byte) error

type RevisionHistories

type RevisionHistories []RevisionHistory

RevisionHistories is a array of history, oldest first and newest last

func (RevisionHistories) DeepCopy

func (in RevisionHistories) DeepCopy() RevisionHistories

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevisionHistories.

func (RevisionHistories) DeepCopyInto

func (in RevisionHistories) DeepCopyInto(out *RevisionHistories)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (RevisionHistories) LastRevisionHistory

func (in RevisionHistories) LastRevisionHistory() RevisionHistory

LastRevisionHistory returns the latest history item from the revision history

func (RevisionHistories) Trunc

Trunc truncates the list of history items to size n

type RevisionHistory

type RevisionHistory struct {
	// Revision holds the revision the sync was performed against
	Revision string `json:"revision" protobuf:"bytes,2,opt,name=revision"`
	// DeployedAt holds the time the sync operation completed
	DeployedAt metav1.Time `json:"deployedAt" protobuf:"bytes,4,opt,name=deployedAt"`
	// ID is an auto incrementing identifier of the RevisionHistory
	ID int64 `json:"id" protobuf:"bytes,5,opt,name=id"`
	// Source is a reference to the application source used for the sync operation
	Source ApplicationSource `json:"source,omitempty" protobuf:"bytes,6,opt,name=source"`
	// DeployStartedAt holds the time the sync operation started
	DeployStartedAt *metav1.Time `json:"deployStartedAt,omitempty" protobuf:"bytes,7,opt,name=deployStartedAt"`
}

RevisionHistory contains history information about a previous sync

func (*RevisionHistory) DeepCopy

func (in *RevisionHistory) DeepCopy() *RevisionHistory

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevisionHistory.

func (*RevisionHistory) DeepCopyInto

func (in *RevisionHistory) DeepCopyInto(out *RevisionHistory)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RevisionHistory) Descriptor

func (*RevisionHistory) Descriptor() ([]byte, []int)

func (*RevisionHistory) Marshal

func (m *RevisionHistory) Marshal() (dAtA []byte, err error)

func (*RevisionHistory) MarshalTo

func (m *RevisionHistory) MarshalTo(dAtA []byte) (int, error)

func (*RevisionHistory) MarshalToSizedBuffer

func (m *RevisionHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RevisionHistory) ProtoMessage

func (*RevisionHistory) ProtoMessage()

func (*RevisionHistory) Reset

func (m *RevisionHistory) Reset()

func (*RevisionHistory) Size

func (m *RevisionHistory) Size() (n int)

func (*RevisionHistory) String

func (this *RevisionHistory) String() string

func (*RevisionHistory) Unmarshal

func (m *RevisionHistory) Unmarshal(dAtA []byte) error

func (*RevisionHistory) XXX_DiscardUnknown

func (m *RevisionHistory) XXX_DiscardUnknown()

func (*RevisionHistory) XXX_Marshal

func (m *RevisionHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevisionHistory) XXX_Merge

func (m *RevisionHistory) XXX_Merge(src proto.Message)

func (*RevisionHistory) XXX_Size

func (m *RevisionHistory) XXX_Size() int

func (*RevisionHistory) XXX_Unmarshal

func (m *RevisionHistory) XXX_Unmarshal(b []byte) error

type RevisionMetadata

type RevisionMetadata struct {
	// who authored this revision,
	// typically their name and email, e.g. "John Doe <john_doe@my-company.com>",
	// but might not match this example
	Author string `json:"author,omitempty" protobuf:"bytes,1,opt,name=author"`
	// Date specifies when the revision was authored
	Date metav1.Time `json:"date" protobuf:"bytes,2,opt,name=date"`
	// Tags specifies any tags currently attached to the revision
	// Floating tags can move from one revision to another
	Tags []string `json:"tags,omitempty" protobuf:"bytes,3,opt,name=tags"`
	// Message contains the message associated with the revision, most likely the commit message.
	// The message is truncated to the first newline or 64 characters (which ever comes first)
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
	// SignatureInfo contains a hint on the signer if the revision was signed with GPG, and signature verification is enabled.
	SignatureInfo string `json:"signatureInfo,omitempty" protobuf:"bytes,5,opt,name=signatureInfo"`
}

RevisionMetadata contains metadata for a specific revision in a Git repository

func (*RevisionMetadata) DeepCopy

func (in *RevisionMetadata) DeepCopy() *RevisionMetadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevisionMetadata.

func (*RevisionMetadata) DeepCopyInto

func (in *RevisionMetadata) DeepCopyInto(out *RevisionMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RevisionMetadata) Descriptor

func (*RevisionMetadata) Descriptor() ([]byte, []int)

func (*RevisionMetadata) Marshal

func (m *RevisionMetadata) Marshal() (dAtA []byte, err error)

func (*RevisionMetadata) MarshalTo

func (m *RevisionMetadata) MarshalTo(dAtA []byte) (int, error)

func (*RevisionMetadata) MarshalToSizedBuffer

func (m *RevisionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RevisionMetadata) ProtoMessage

func (*RevisionMetadata) ProtoMessage()

func (*RevisionMetadata) Reset

func (m *RevisionMetadata) Reset()

func (*RevisionMetadata) Size

func (m *RevisionMetadata) Size() (n int)

func (*RevisionMetadata) String

func (this *RevisionMetadata) String() string

func (*RevisionMetadata) Unmarshal

func (m *RevisionMetadata) Unmarshal(dAtA []byte) error

func (*RevisionMetadata) XXX_DiscardUnknown

func (m *RevisionMetadata) XXX_DiscardUnknown()

func (*RevisionMetadata) XXX_Marshal

func (m *RevisionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevisionMetadata) XXX_Merge

func (m *RevisionMetadata) XXX_Merge(src proto.Message)

func (*RevisionMetadata) XXX_Size

func (m *RevisionMetadata) XXX_Size() int

func (*RevisionMetadata) XXX_Unmarshal

func (m *RevisionMetadata) XXX_Unmarshal(b []byte) error

type SCMProviderGenerator added in v2.5.0

type SCMProviderGenerator struct {
	// Which provider to use and config for it.
	Github          *SCMProviderGeneratorGithub          `json:"github,omitempty" protobuf:"bytes,1,opt,name=github"`
	Gitlab          *SCMProviderGeneratorGitlab          `json:"gitlab,omitempty" protobuf:"bytes,2,opt,name=gitlab"`
	Bitbucket       *SCMProviderGeneratorBitbucket       `json:"bitbucket,omitempty" protobuf:"bytes,3,opt,name=bitbucket"`
	BitbucketServer *SCMProviderGeneratorBitbucketServer `json:"bitbucketServer,omitempty" protobuf:"bytes,4,opt,name=bitbucketServer"`
	Gitea           *SCMProviderGeneratorGitea           `json:"gitea,omitempty" protobuf:"bytes,5,opt,name=gitea"`
	AzureDevOps     *SCMProviderGeneratorAzureDevOps     `json:"azureDevOps,omitempty" protobuf:"bytes,6,opt,name=azureDevOps"`
	// Filters for which repos should be considered.
	Filters []SCMProviderGeneratorFilter `json:"filters,omitempty" protobuf:"bytes,7,rep,name=filters"`
	// Which protocol to use for the SCM URL. Default is provider-specific but ssh if possible. Not all providers
	// necessarily support all protocols.
	CloneProtocol string `json:"cloneProtocol,omitempty" protobuf:"bytes,8,opt,name=cloneProtocol"`
	// Standard parameters.
	RequeueAfterSeconds *int64                 `json:"requeueAfterSeconds,omitempty" protobuf:"varint,9,opt,name=requeueAfterSeconds"`
	Template            ApplicationSetTemplate `json:"template,omitempty" protobuf:"bytes,10,opt,name=template"`
}

SCMProviderGenerator defines a generator that scrapes a SCMaaS API to find candidate repos.

func (*SCMProviderGenerator) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCMProviderGenerator.

func (*SCMProviderGenerator) DeepCopyInto added in v2.5.0

func (in *SCMProviderGenerator) DeepCopyInto(out *SCMProviderGenerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SCMProviderGenerator) Descriptor added in v2.5.0

func (*SCMProviderGenerator) Descriptor() ([]byte, []int)

func (*SCMProviderGenerator) Marshal added in v2.5.0

func (m *SCMProviderGenerator) Marshal() (dAtA []byte, err error)

func (*SCMProviderGenerator) MarshalTo added in v2.5.0

func (m *SCMProviderGenerator) MarshalTo(dAtA []byte) (int, error)

func (*SCMProviderGenerator) MarshalToSizedBuffer added in v2.5.0

func (m *SCMProviderGenerator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCMProviderGenerator) ProtoMessage added in v2.5.0

func (*SCMProviderGenerator) ProtoMessage()

func (*SCMProviderGenerator) Reset added in v2.5.0

func (m *SCMProviderGenerator) Reset()

func (*SCMProviderGenerator) Size added in v2.5.0

func (m *SCMProviderGenerator) Size() (n int)

func (*SCMProviderGenerator) String added in v2.5.0

func (this *SCMProviderGenerator) String() string

func (*SCMProviderGenerator) Unmarshal added in v2.5.0

func (m *SCMProviderGenerator) Unmarshal(dAtA []byte) error

func (*SCMProviderGenerator) XXX_DiscardUnknown added in v2.5.0

func (m *SCMProviderGenerator) XXX_DiscardUnknown()

func (*SCMProviderGenerator) XXX_Marshal added in v2.5.0

func (m *SCMProviderGenerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCMProviderGenerator) XXX_Merge added in v2.5.0

func (m *SCMProviderGenerator) XXX_Merge(src proto.Message)

func (*SCMProviderGenerator) XXX_Size added in v2.5.0

func (m *SCMProviderGenerator) XXX_Size() int

func (*SCMProviderGenerator) XXX_Unmarshal added in v2.5.0

func (m *SCMProviderGenerator) XXX_Unmarshal(b []byte) error

type SCMProviderGeneratorAzureDevOps added in v2.5.0

type SCMProviderGeneratorAzureDevOps struct {
	// Azure Devops organization. Required. E.g. "my-organization".
	Organization string `json:"organization" protobuf:"bytes,5,opt,name=organization"`
	// The URL to Azure DevOps. If blank, use https://dev.azure.com.
	API string `json:"api,omitempty" protobuf:"bytes,6,opt,name=api"`
	// Azure Devops team project. Required. E.g. "my-team".
	TeamProject string `json:"teamProject" protobuf:"bytes,7,opt,name=teamProject"`
	// The Personal Access Token (PAT) to use when connecting. Required.
	AccessTokenRef *SecretRef `json:"accessTokenRef" protobuf:"bytes,8,opt,name=accessTokenRef"`
	// Scan all branches instead of just the default branch.
	AllBranches bool `json:"allBranches,omitempty" protobuf:"varint,9,opt,name=allBranches"`
}

SCMProviderGeneratorAzureDevOps defines connection info specific to Azure DevOps.

func (*SCMProviderGeneratorAzureDevOps) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCMProviderGeneratorAzureDevOps.

func (*SCMProviderGeneratorAzureDevOps) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SCMProviderGeneratorAzureDevOps) Descriptor added in v2.5.0

func (*SCMProviderGeneratorAzureDevOps) Descriptor() ([]byte, []int)

func (*SCMProviderGeneratorAzureDevOps) Marshal added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) Marshal() (dAtA []byte, err error)

func (*SCMProviderGeneratorAzureDevOps) MarshalTo added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) MarshalTo(dAtA []byte) (int, error)

func (*SCMProviderGeneratorAzureDevOps) MarshalToSizedBuffer added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCMProviderGeneratorAzureDevOps) ProtoMessage added in v2.5.0

func (*SCMProviderGeneratorAzureDevOps) ProtoMessage()

func (*SCMProviderGeneratorAzureDevOps) Reset added in v2.5.0

func (*SCMProviderGeneratorAzureDevOps) Size added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) Size() (n int)

func (*SCMProviderGeneratorAzureDevOps) String added in v2.5.0

func (this *SCMProviderGeneratorAzureDevOps) String() string

func (*SCMProviderGeneratorAzureDevOps) Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) Unmarshal(dAtA []byte) error

func (*SCMProviderGeneratorAzureDevOps) XXX_DiscardUnknown added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) XXX_DiscardUnknown()

func (*SCMProviderGeneratorAzureDevOps) XXX_Marshal added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCMProviderGeneratorAzureDevOps) XXX_Merge added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) XXX_Merge(src proto.Message)

func (*SCMProviderGeneratorAzureDevOps) XXX_Size added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) XXX_Size() int

func (*SCMProviderGeneratorAzureDevOps) XXX_Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorAzureDevOps) XXX_Unmarshal(b []byte) error

type SCMProviderGeneratorBitbucket added in v2.5.0

type SCMProviderGeneratorBitbucket struct {
	// Bitbucket workspace to scan. Required.
	Owner string `json:"owner" protobuf:"bytes,1,opt,name=owner"`
	// Bitbucket user to use when authenticating.  Should have a "member" role to be able to read all repositories and branches.  Required
	User string `json:"user" protobuf:"bytes,2,opt,name=user"`
	// The app password to use for the user.  Required. See: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
	AppPasswordRef *SecretRef `json:"appPasswordRef" protobuf:"bytes,3,opt,name=appPasswordRef"`
	// Scan all branches instead of just the main branch.
	AllBranches bool `json:"allBranches,omitempty" protobuf:"varint,4,opt,name=allBranches"`
}

SCMProviderGeneratorBitbucket defines connection info specific to Bitbucket Cloud (API version 2).

func (*SCMProviderGeneratorBitbucket) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCMProviderGeneratorBitbucket.

func (*SCMProviderGeneratorBitbucket) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SCMProviderGeneratorBitbucket) Descriptor added in v2.5.0

func (*SCMProviderGeneratorBitbucket) Descriptor() ([]byte, []int)

func (*SCMProviderGeneratorBitbucket) Marshal added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) Marshal() (dAtA []byte, err error)

func (*SCMProviderGeneratorBitbucket) MarshalTo added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) MarshalTo(dAtA []byte) (int, error)

func (*SCMProviderGeneratorBitbucket) MarshalToSizedBuffer added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCMProviderGeneratorBitbucket) ProtoMessage added in v2.5.0

func (*SCMProviderGeneratorBitbucket) ProtoMessage()

func (*SCMProviderGeneratorBitbucket) Reset added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) Reset()

func (*SCMProviderGeneratorBitbucket) Size added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) Size() (n int)

func (*SCMProviderGeneratorBitbucket) String added in v2.5.0

func (this *SCMProviderGeneratorBitbucket) String() string

func (*SCMProviderGeneratorBitbucket) Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) Unmarshal(dAtA []byte) error

func (*SCMProviderGeneratorBitbucket) XXX_DiscardUnknown added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) XXX_DiscardUnknown()

func (*SCMProviderGeneratorBitbucket) XXX_Marshal added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCMProviderGeneratorBitbucket) XXX_Merge added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) XXX_Merge(src proto.Message)

func (*SCMProviderGeneratorBitbucket) XXX_Size added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) XXX_Size() int

func (*SCMProviderGeneratorBitbucket) XXX_Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorBitbucket) XXX_Unmarshal(b []byte) error

type SCMProviderGeneratorBitbucketServer added in v2.5.0

type SCMProviderGeneratorBitbucketServer struct {
	// Project to scan. Required.
	Project string `json:"project" protobuf:"bytes,1,opt,name=project"`
	// The Bitbucket Server REST API URL to talk to. Required.
	API string `json:"api" protobuf:"bytes,2,opt,name=api"`
	// Credentials for Basic auth
	BasicAuth *BasicAuthBitbucketServer `json:"basicAuth,omitempty" protobuf:"bytes,3,opt,name=basicAuth"`
	// Scan all branches instead of just the default branch.
	AllBranches bool `json:"allBranches,omitempty" protobuf:"varint,4,opt,name=allBranches"`
}

SCMProviderGeneratorBitbucketServer defines connection info specific to Bitbucket Server.

func (*SCMProviderGeneratorBitbucketServer) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCMProviderGeneratorBitbucketServer.

func (*SCMProviderGeneratorBitbucketServer) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SCMProviderGeneratorBitbucketServer) Descriptor added in v2.5.0

func (*SCMProviderGeneratorBitbucketServer) Descriptor() ([]byte, []int)

func (*SCMProviderGeneratorBitbucketServer) Marshal added in v2.5.0

func (m *SCMProviderGeneratorBitbucketServer) Marshal() (dAtA []byte, err error)

func (*SCMProviderGeneratorBitbucketServer) MarshalTo added in v2.5.0

func (m *SCMProviderGeneratorBitbucketServer) MarshalTo(dAtA []byte) (int, error)

func (*SCMProviderGeneratorBitbucketServer) MarshalToSizedBuffer added in v2.5.0

func (m *SCMProviderGeneratorBitbucketServer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCMProviderGeneratorBitbucketServer) ProtoMessage added in v2.5.0

func (*SCMProviderGeneratorBitbucketServer) ProtoMessage()

func (*SCMProviderGeneratorBitbucketServer) Reset added in v2.5.0

func (*SCMProviderGeneratorBitbucketServer) Size added in v2.5.0

func (*SCMProviderGeneratorBitbucketServer) String added in v2.5.0

func (*SCMProviderGeneratorBitbucketServer) Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorBitbucketServer) Unmarshal(dAtA []byte) error

func (*SCMProviderGeneratorBitbucketServer) XXX_DiscardUnknown added in v2.5.0

func (m *SCMProviderGeneratorBitbucketServer) XXX_DiscardUnknown()

func (*SCMProviderGeneratorBitbucketServer) XXX_Marshal added in v2.5.0

func (m *SCMProviderGeneratorBitbucketServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCMProviderGeneratorBitbucketServer) XXX_Merge added in v2.5.0

func (*SCMProviderGeneratorBitbucketServer) XXX_Size added in v2.5.0

func (*SCMProviderGeneratorBitbucketServer) XXX_Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorBitbucketServer) XXX_Unmarshal(b []byte) error

type SCMProviderGeneratorFilter added in v2.5.0

type SCMProviderGeneratorFilter struct {
	// A regex for repo names.
	RepositoryMatch *string `json:"repositoryMatch,omitempty" protobuf:"bytes,1,opt,name=repositoryMatch"`
	// An array of paths, all of which must exist.
	PathsExist []string `json:"pathsExist,omitempty" protobuf:"bytes,2,rep,name=pathsExist"`
	// An array of paths, all of which must not exist.
	PathsDoNotExist []string `json:"pathsDoNotExist,omitempty" protobuf:"bytes,3,rep,name=pathsDoNotExist"`
	// A regex which must match at least one label.
	LabelMatch *string `json:"labelMatch,omitempty" protobuf:"bytes,4,opt,name=labelMatch"`
	// A regex which must match the branch name.
	BranchMatch *string `json:"branchMatch,omitempty" protobuf:"bytes,5,opt,name=branchMatch"`
}

SCMProviderGeneratorFilter is a single repository filter. If multiple filter types are set on a single struct, they will be AND'd together. All filters must pass for a repo to be included.

func (*SCMProviderGeneratorFilter) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCMProviderGeneratorFilter.

func (*SCMProviderGeneratorFilter) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SCMProviderGeneratorFilter) Descriptor added in v2.5.0

func (*SCMProviderGeneratorFilter) Descriptor() ([]byte, []int)

func (*SCMProviderGeneratorFilter) Marshal added in v2.5.0

func (m *SCMProviderGeneratorFilter) Marshal() (dAtA []byte, err error)

func (*SCMProviderGeneratorFilter) MarshalTo added in v2.5.0

func (m *SCMProviderGeneratorFilter) MarshalTo(dAtA []byte) (int, error)

func (*SCMProviderGeneratorFilter) MarshalToSizedBuffer added in v2.5.0

func (m *SCMProviderGeneratorFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCMProviderGeneratorFilter) ProtoMessage added in v2.5.0

func (*SCMProviderGeneratorFilter) ProtoMessage()

func (*SCMProviderGeneratorFilter) Reset added in v2.5.0

func (m *SCMProviderGeneratorFilter) Reset()

func (*SCMProviderGeneratorFilter) Size added in v2.5.0

func (m *SCMProviderGeneratorFilter) Size() (n int)

func (*SCMProviderGeneratorFilter) String added in v2.5.0

func (this *SCMProviderGeneratorFilter) String() string

func (*SCMProviderGeneratorFilter) Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorFilter) Unmarshal(dAtA []byte) error

func (*SCMProviderGeneratorFilter) XXX_DiscardUnknown added in v2.5.0

func (m *SCMProviderGeneratorFilter) XXX_DiscardUnknown()

func (*SCMProviderGeneratorFilter) XXX_Marshal added in v2.5.0

func (m *SCMProviderGeneratorFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCMProviderGeneratorFilter) XXX_Merge added in v2.5.0

func (m *SCMProviderGeneratorFilter) XXX_Merge(src proto.Message)

func (*SCMProviderGeneratorFilter) XXX_Size added in v2.5.0

func (m *SCMProviderGeneratorFilter) XXX_Size() int

func (*SCMProviderGeneratorFilter) XXX_Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorFilter) XXX_Unmarshal(b []byte) error

type SCMProviderGeneratorGitea added in v2.5.0

type SCMProviderGeneratorGitea struct {
	// Gitea organization or user to scan. Required.
	Owner string `json:"owner" protobuf:"bytes,1,opt,name=owner"`
	// The Gitea URL to talk to. For example https://gitea.mydomain.com/.
	API string `json:"api" protobuf:"bytes,2,opt,name=api"`
	// Authentication token reference.
	TokenRef *SecretRef `json:"tokenRef,omitempty" protobuf:"bytes,3,opt,name=tokenRef"`
	// Scan all branches instead of just the default branch.
	AllBranches bool `json:"allBranches,omitempty" protobuf:"varint,4,opt,name=allBranches"`
	// Allow self-signed TLS / Certificates; default: false
	Insecure bool `json:"insecure,omitempty" protobuf:"varint,5,opt,name=insecure"`
}

SCMProviderGeneratorGitea defines a connection info specific to Gitea.

func (*SCMProviderGeneratorGitea) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCMProviderGeneratorGitea.

func (*SCMProviderGeneratorGitea) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SCMProviderGeneratorGitea) Descriptor added in v2.5.0

func (*SCMProviderGeneratorGitea) Descriptor() ([]byte, []int)

func (*SCMProviderGeneratorGitea) Marshal added in v2.5.0

func (m *SCMProviderGeneratorGitea) Marshal() (dAtA []byte, err error)

func (*SCMProviderGeneratorGitea) MarshalTo added in v2.5.0

func (m *SCMProviderGeneratorGitea) MarshalTo(dAtA []byte) (int, error)

func (*SCMProviderGeneratorGitea) MarshalToSizedBuffer added in v2.5.0

func (m *SCMProviderGeneratorGitea) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCMProviderGeneratorGitea) ProtoMessage added in v2.5.0

func (*SCMProviderGeneratorGitea) ProtoMessage()

func (*SCMProviderGeneratorGitea) Reset added in v2.5.0

func (m *SCMProviderGeneratorGitea) Reset()

func (*SCMProviderGeneratorGitea) Size added in v2.5.0

func (m *SCMProviderGeneratorGitea) Size() (n int)

func (*SCMProviderGeneratorGitea) String added in v2.5.0

func (this *SCMProviderGeneratorGitea) String() string

func (*SCMProviderGeneratorGitea) Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorGitea) Unmarshal(dAtA []byte) error

func (*SCMProviderGeneratorGitea) XXX_DiscardUnknown added in v2.5.0

func (m *SCMProviderGeneratorGitea) XXX_DiscardUnknown()

func (*SCMProviderGeneratorGitea) XXX_Marshal added in v2.5.0

func (m *SCMProviderGeneratorGitea) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCMProviderGeneratorGitea) XXX_Merge added in v2.5.0

func (m *SCMProviderGeneratorGitea) XXX_Merge(src proto.Message)

func (*SCMProviderGeneratorGitea) XXX_Size added in v2.5.0

func (m *SCMProviderGeneratorGitea) XXX_Size() int

func (*SCMProviderGeneratorGitea) XXX_Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorGitea) XXX_Unmarshal(b []byte) error

type SCMProviderGeneratorGithub added in v2.5.0

type SCMProviderGeneratorGithub struct {
	// GitHub org to scan. Required.
	Organization string `json:"organization" protobuf:"bytes,1,opt,name=organization"`
	// The GitHub API URL to talk to. If blank, use https://api.github.com/.
	API string `json:"api,omitempty" protobuf:"bytes,2,opt,name=api"`
	// Authentication token reference.
	TokenRef *SecretRef `json:"tokenRef,omitempty" protobuf:"bytes,3,opt,name=tokenRef"`
	// AppSecretName is a reference to a GitHub App repo-creds secret.
	AppSecretName string `json:"appSecretName,omitempty" protobuf:"bytes,4,opt,name=appSecretName"`
	// Scan all branches instead of just the default branch.
	AllBranches bool `json:"allBranches,omitempty" protobuf:"varint,5,opt,name=allBranches"`
}

SCMProviderGeneratorGithub defines connection info specific to GitHub.

func (*SCMProviderGeneratorGithub) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCMProviderGeneratorGithub.

func (*SCMProviderGeneratorGithub) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SCMProviderGeneratorGithub) Descriptor added in v2.5.0

func (*SCMProviderGeneratorGithub) Descriptor() ([]byte, []int)

func (*SCMProviderGeneratorGithub) Marshal added in v2.5.0

func (m *SCMProviderGeneratorGithub) Marshal() (dAtA []byte, err error)

func (*SCMProviderGeneratorGithub) MarshalTo added in v2.5.0

func (m *SCMProviderGeneratorGithub) MarshalTo(dAtA []byte) (int, error)

func (*SCMProviderGeneratorGithub) MarshalToSizedBuffer added in v2.5.0

func (m *SCMProviderGeneratorGithub) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCMProviderGeneratorGithub) ProtoMessage added in v2.5.0

func (*SCMProviderGeneratorGithub) ProtoMessage()

func (*SCMProviderGeneratorGithub) Reset added in v2.5.0

func (m *SCMProviderGeneratorGithub) Reset()

func (*SCMProviderGeneratorGithub) Size added in v2.5.0

func (m *SCMProviderGeneratorGithub) Size() (n int)

func (*SCMProviderGeneratorGithub) String added in v2.5.0

func (this *SCMProviderGeneratorGithub) String() string

func (*SCMProviderGeneratorGithub) Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorGithub) Unmarshal(dAtA []byte) error

func (*SCMProviderGeneratorGithub) XXX_DiscardUnknown added in v2.5.0

func (m *SCMProviderGeneratorGithub) XXX_DiscardUnknown()

func (*SCMProviderGeneratorGithub) XXX_Marshal added in v2.5.0

func (m *SCMProviderGeneratorGithub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCMProviderGeneratorGithub) XXX_Merge added in v2.5.0

func (m *SCMProviderGeneratorGithub) XXX_Merge(src proto.Message)

func (*SCMProviderGeneratorGithub) XXX_Size added in v2.5.0

func (m *SCMProviderGeneratorGithub) XXX_Size() int

func (*SCMProviderGeneratorGithub) XXX_Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorGithub) XXX_Unmarshal(b []byte) error

type SCMProviderGeneratorGitlab added in v2.5.0

type SCMProviderGeneratorGitlab struct {
	// Gitlab group to scan. Required.  You can use either the project id (recommended) or the full namespaced path.
	Group string `json:"group" protobuf:"bytes,1,opt,name=group"`
	// Recurse through subgroups (true) or scan only the base group (false).  Defaults to "false"
	IncludeSubgroups bool `json:"includeSubgroups,omitempty" protobuf:"varint,2,opt,name=includeSubgroups"`
	// The Gitlab API URL to talk to.
	API string `json:"api,omitempty" protobuf:"bytes,3,opt,name=api"`
	// Authentication token reference.
	TokenRef *SecretRef `json:"tokenRef,omitempty" protobuf:"bytes,4,opt,name=tokenRef"`
	// Scan all branches instead of just the default branch.
	AllBranches bool `json:"allBranches,omitempty" protobuf:"varint,5,opt,name=allBranches"`
}

SCMProviderGeneratorGitlab defines connection info specific to Gitlab.

func (*SCMProviderGeneratorGitlab) DeepCopy added in v2.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SCMProviderGeneratorGitlab.

func (*SCMProviderGeneratorGitlab) DeepCopyInto added in v2.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SCMProviderGeneratorGitlab) Descriptor added in v2.5.0

func (*SCMProviderGeneratorGitlab) Descriptor() ([]byte, []int)

func (*SCMProviderGeneratorGitlab) Marshal added in v2.5.0

func (m *SCMProviderGeneratorGitlab) Marshal() (dAtA []byte, err error)

func (*SCMProviderGeneratorGitlab) MarshalTo added in v2.5.0

func (m *SCMProviderGeneratorGitlab) MarshalTo(dAtA []byte) (int, error)

func (*SCMProviderGeneratorGitlab) MarshalToSizedBuffer added in v2.5.0

func (m *SCMProviderGeneratorGitlab) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCMProviderGeneratorGitlab) ProtoMessage added in v2.5.0

func (*SCMProviderGeneratorGitlab) ProtoMessage()

func (*SCMProviderGeneratorGitlab) Reset added in v2.5.0

func (m *SCMProviderGeneratorGitlab) Reset()

func (*SCMProviderGeneratorGitlab) Size added in v2.5.0

func (m *SCMProviderGeneratorGitlab) Size() (n int)

func (*SCMProviderGeneratorGitlab) String added in v2.5.0

func (this *SCMProviderGeneratorGitlab) String() string

func (*SCMProviderGeneratorGitlab) Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorGitlab) Unmarshal(dAtA []byte) error

func (*SCMProviderGeneratorGitlab) XXX_DiscardUnknown added in v2.5.0

func (m *SCMProviderGeneratorGitlab) XXX_DiscardUnknown()

func (*SCMProviderGeneratorGitlab) XXX_Marshal added in v2.5.0

func (m *SCMProviderGeneratorGitlab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCMProviderGeneratorGitlab) XXX_Merge added in v2.5.0

func (m *SCMProviderGeneratorGitlab) XXX_Merge(src proto.Message)

func (*SCMProviderGeneratorGitlab) XXX_Size added in v2.5.0

func (m *SCMProviderGeneratorGitlab) XXX_Size() int

func (*SCMProviderGeneratorGitlab) XXX_Unmarshal added in v2.5.0

func (m *SCMProviderGeneratorGitlab) XXX_Unmarshal(b []byte) error

type SecretRef added in v2.5.0

type SecretRef struct {
	SecretName string `json:"secretName" protobuf:"bytes,1,opt,name=secretName"`
	Key        string `json:"key" protobuf:"bytes,2,opt,name=key"`
}

Utility struct for a reference to a secret key.

func (*SecretRef) DeepCopy added in v2.5.0

func (in *SecretRef) DeepCopy() *SecretRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.

func (*SecretRef) DeepCopyInto added in v2.5.0

func (in *SecretRef) DeepCopyInto(out *SecretRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretRef) Descriptor added in v2.5.0

func (*SecretRef) Descriptor() ([]byte, []int)

func (*SecretRef) Marshal added in v2.5.0

func (m *SecretRef) Marshal() (dAtA []byte, err error)

func (*SecretRef) MarshalTo added in v2.5.0

func (m *SecretRef) MarshalTo(dAtA []byte) (int, error)

func (*SecretRef) MarshalToSizedBuffer added in v2.5.0

func (m *SecretRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretRef) ProtoMessage added in v2.5.0

func (*SecretRef) ProtoMessage()

func (*SecretRef) Reset added in v2.5.0

func (m *SecretRef) Reset()

func (*SecretRef) Size added in v2.5.0

func (m *SecretRef) Size() (n int)

func (*SecretRef) String added in v2.5.0

func (this *SecretRef) String() string

func (*SecretRef) Unmarshal added in v2.5.0

func (m *SecretRef) Unmarshal(dAtA []byte) error

func (*SecretRef) XXX_DiscardUnknown added in v2.5.0

func (m *SecretRef) XXX_DiscardUnknown()

func (*SecretRef) XXX_Marshal added in v2.5.0

func (m *SecretRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretRef) XXX_Merge added in v2.5.0

func (m *SecretRef) XXX_Merge(src proto.Message)

func (*SecretRef) XXX_Size added in v2.5.0

func (m *SecretRef) XXX_Size() int

func (*SecretRef) XXX_Unmarshal added in v2.5.0

func (m *SecretRef) XXX_Unmarshal(b []byte) error

type SignatureKey

type SignatureKey struct {
	// The ID of the key in hexadecimal notation
	KeyID string `json:"keyID" protobuf:"bytes,1,name=keyID"`
}

SignatureKey is the specification of a key required to verify commit signatures with

func (*SignatureKey) DeepCopy

func (in *SignatureKey) DeepCopy() *SignatureKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignatureKey.

func (*SignatureKey) DeepCopyInto

func (in *SignatureKey) DeepCopyInto(out *SignatureKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SignatureKey) Descriptor

func (*SignatureKey) Descriptor() ([]byte, []int)

func (*SignatureKey) Marshal

func (m *SignatureKey) Marshal() (dAtA []byte, err error)

func (*SignatureKey) MarshalTo

func (m *SignatureKey) MarshalTo(dAtA []byte) (int, error)

func (*SignatureKey) MarshalToSizedBuffer

func (m *SignatureKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignatureKey) ProtoMessage

func (*SignatureKey) ProtoMessage()

func (*SignatureKey) Reset

func (m *SignatureKey) Reset()

func (*SignatureKey) Size

func (m *SignatureKey) Size() (n int)

func (*SignatureKey) String

func (this *SignatureKey) String() string

func (*SignatureKey) Unmarshal

func (m *SignatureKey) Unmarshal(dAtA []byte) error

func (*SignatureKey) XXX_DiscardUnknown

func (m *SignatureKey) XXX_DiscardUnknown()

func (*SignatureKey) XXX_Marshal

func (m *SignatureKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignatureKey) XXX_Merge

func (m *SignatureKey) XXX_Merge(src proto.Message)

func (*SignatureKey) XXX_Size

func (m *SignatureKey) XXX_Size() int

func (*SignatureKey) XXX_Unmarshal

func (m *SignatureKey) XXX_Unmarshal(b []byte) error

type SyncOperation

type SyncOperation struct {
	// Revision is the revision (Git) or chart version (Helm) which to sync the application to
	// If omitted, will use the revision specified in app spec.
	Revision string `json:"revision,omitempty" protobuf:"bytes,1,opt,name=revision"`
	// Prune specifies to delete resources from the cluster that are no longer tracked in git
	Prune bool `json:"prune,omitempty" protobuf:"bytes,2,opt,name=prune"`
	// DryRun specifies to 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"`
	// Resources describes which resources shall be part of the sync
	Resources []SyncOperationResource `json:"resources,omitempty" protobuf:"bytes,6,opt,name=resources"`
	// Source overrides the source definition set in the application.
	// This is typically set in a Rollback operation and is nil during a Sync operation
	Source *ApplicationSource `json:"source,omitempty" protobuf:"bytes,7,opt,name=source"`
	// Manifests is an optional field that overrides sync source with a local directory for development
	Manifests []string `json:"manifests,omitempty" protobuf:"bytes,8,opt,name=manifests"`
	// SyncOptions provide per-sync sync-options, e.g. Validate=false
	SyncOptions SyncOptions `json:"syncOptions,omitempty" protobuf:"bytes,9,opt,name=syncOptions"`
}

SyncOperation contains details about a sync operation.

func (*SyncOperation) DeepCopy

func (in *SyncOperation) DeepCopy() *SyncOperation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOperation.

func (*SyncOperation) DeepCopyInto

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

func (*SyncOperation) Descriptor() ([]byte, []int)

func (*SyncOperation) IsApplyStrategy

func (o *SyncOperation) IsApplyStrategy() bool

IsApplyStrategy returns true if the sync strategy is "apply"

func (*SyncOperation) Marshal

func (m *SyncOperation) Marshal() (dAtA []byte, err error)

func (*SyncOperation) MarshalTo

func (m *SyncOperation) MarshalTo(dAtA []byte) (int, error)

func (*SyncOperation) MarshalToSizedBuffer

func (m *SyncOperation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncOperation) ProtoMessage

func (*SyncOperation) ProtoMessage()

func (*SyncOperation) Reset

func (m *SyncOperation) Reset()

func (*SyncOperation) Size

func (m *SyncOperation) Size() (n int)

func (*SyncOperation) String

func (this *SyncOperation) String() string

func (*SyncOperation) Unmarshal

func (m *SyncOperation) Unmarshal(dAtA []byte) error

func (*SyncOperation) XXX_DiscardUnknown

func (m *SyncOperation) XXX_DiscardUnknown()

func (*SyncOperation) XXX_Marshal

func (m *SyncOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncOperation) XXX_Merge

func (m *SyncOperation) XXX_Merge(src proto.Message)

func (*SyncOperation) XXX_Size

func (m *SyncOperation) XXX_Size() int

func (*SyncOperation) XXX_Unmarshal

func (m *SyncOperation) XXX_Unmarshal(b []byte) error

type SyncOperationResource

type SyncOperationResource struct {
	Group     string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
	Kind      string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
	Name      string `json:"name" protobuf:"bytes,3,opt,name=name"`
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"`
}

SyncOperationResource contains resources to sync.

func (*SyncOperationResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOperationResource.

func (*SyncOperationResource) DeepCopyInto

func (in *SyncOperationResource) DeepCopyInto(out *SyncOperationResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SyncOperationResource) Descriptor

func (*SyncOperationResource) Descriptor() ([]byte, []int)

func (SyncOperationResource) HasIdentity

func (r SyncOperationResource) HasIdentity(name string, namespace string, gvk schema.GroupVersionKind) bool

HasIdentity determines whether a sync operation is identified by a manifest

func (*SyncOperationResource) Marshal

func (m *SyncOperationResource) Marshal() (dAtA []byte, err error)

func (*SyncOperationResource) MarshalTo

func (m *SyncOperationResource) MarshalTo(dAtA []byte) (int, error)

func (*SyncOperationResource) MarshalToSizedBuffer

func (m *SyncOperationResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncOperationResource) ProtoMessage

func (*SyncOperationResource) ProtoMessage()

func (*SyncOperationResource) Reset

func (m *SyncOperationResource) Reset()

func (*SyncOperationResource) Size

func (m *SyncOperationResource) Size() (n int)

func (*SyncOperationResource) String

func (this *SyncOperationResource) String() string

func (*SyncOperationResource) Unmarshal

func (m *SyncOperationResource) Unmarshal(dAtA []byte) error

func (*SyncOperationResource) XXX_DiscardUnknown

func (m *SyncOperationResource) XXX_DiscardUnknown()

func (*SyncOperationResource) XXX_Marshal

func (m *SyncOperationResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncOperationResource) XXX_Merge

func (m *SyncOperationResource) XXX_Merge(src proto.Message)

func (*SyncOperationResource) XXX_Size

func (m *SyncOperationResource) XXX_Size() int

func (*SyncOperationResource) XXX_Unmarshal

func (m *SyncOperationResource) XXX_Unmarshal(b []byte) error

type SyncOperationResult

type SyncOperationResult struct {
	// Resources contains a list of sync result items for each individual resource in a sync operation
	Resources ResourceResults `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"`
	// Revision holds the revision this sync operation was performed to
	Revision string `json:"revision" protobuf:"bytes,2,opt,name=revision"`
	// Source records the application source information of the sync, used for comparing auto-sync
	Source ApplicationSource `json:"source,omitempty" protobuf:"bytes,3,opt,name=source"`
}

SyncOperationResult represent result of sync operation

func (*SyncOperationResult) DeepCopy

func (in *SyncOperationResult) DeepCopy() *SyncOperationResult

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOperationResult.

func (*SyncOperationResult) DeepCopyInto

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

func (*SyncOperationResult) Descriptor() ([]byte, []int)

func (*SyncOperationResult) Marshal

func (m *SyncOperationResult) Marshal() (dAtA []byte, err error)

func (*SyncOperationResult) MarshalTo

func (m *SyncOperationResult) MarshalTo(dAtA []byte) (int, error)

func (*SyncOperationResult) MarshalToSizedBuffer

func (m *SyncOperationResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncOperationResult) ProtoMessage

func (*SyncOperationResult) ProtoMessage()

func (*SyncOperationResult) Reset

func (m *SyncOperationResult) Reset()

func (*SyncOperationResult) Size

func (m *SyncOperationResult) Size() (n int)

func (*SyncOperationResult) String

func (this *SyncOperationResult) String() string

func (*SyncOperationResult) Unmarshal

func (m *SyncOperationResult) Unmarshal(dAtA []byte) error

func (*SyncOperationResult) XXX_DiscardUnknown

func (m *SyncOperationResult) XXX_DiscardUnknown()

func (*SyncOperationResult) XXX_Marshal

func (m *SyncOperationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncOperationResult) XXX_Merge

func (m *SyncOperationResult) XXX_Merge(src proto.Message)

func (*SyncOperationResult) XXX_Size

func (m *SyncOperationResult) XXX_Size() int

func (*SyncOperationResult) XXX_Unmarshal

func (m *SyncOperationResult) XXX_Unmarshal(b []byte) error

type SyncOptions

type SyncOptions []string

func (SyncOptions) AddOption

func (o SyncOptions) AddOption(option string) SyncOptions

AddOption adds a sync option to the list of sync options and returns the modified list. If option was already set, returns the unmodified list of sync options.

func (SyncOptions) DeepCopy

func (in SyncOptions) DeepCopy() SyncOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOptions.

func (SyncOptions) DeepCopyInto

func (in SyncOptions) DeepCopyInto(out *SyncOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (SyncOptions) HasOption

func (o SyncOptions) HasOption(option string) bool

HasOption returns true if the list of sync options contains given option

func (SyncOptions) RemoveOption

func (o SyncOptions) RemoveOption(option string) SyncOptions

RemoveOption removes a sync option from the list of sync options and returns the modified list. If option has not been already set, returns the unmodified list of sync options.

type SyncPolicy

type SyncPolicy struct {
	// Automated will keep an application synced to the target revision
	Automated *SyncPolicyAutomated `json:"automated,omitempty" protobuf:"bytes,1,opt,name=automated"`
	// Options allow you to specify whole app sync-options
	SyncOptions SyncOptions `json:"syncOptions,omitempty" protobuf:"bytes,2,opt,name=syncOptions"`
	// Retry controls failed sync retry behavior
	Retry *RetryStrategy `json:"retry,omitempty" protobuf:"bytes,3,opt,name=retry"`
}

SyncPolicy controls when a sync will be performed in response to updates in git

func (*SyncPolicy) DeepCopy

func (in *SyncPolicy) DeepCopy() *SyncPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncPolicy.

func (*SyncPolicy) DeepCopyInto

func (in *SyncPolicy) DeepCopyInto(out *SyncPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SyncPolicy) Descriptor

func (*SyncPolicy) Descriptor() ([]byte, []int)

func (*SyncPolicy) IsZero

func (p *SyncPolicy) IsZero() bool

IsZero returns true if the sync policy is empty

func (*SyncPolicy) Marshal

func (m *SyncPolicy) Marshal() (dAtA []byte, err error)

func (*SyncPolicy) MarshalTo

func (m *SyncPolicy) MarshalTo(dAtA []byte) (int, error)

func (*SyncPolicy) MarshalToSizedBuffer

func (m *SyncPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncPolicy) ProtoMessage

func (*SyncPolicy) ProtoMessage()

func (*SyncPolicy) Reset

func (m *SyncPolicy) Reset()

func (*SyncPolicy) Size

func (m *SyncPolicy) Size() (n int)

func (*SyncPolicy) String

func (this *SyncPolicy) String() string

func (*SyncPolicy) Unmarshal

func (m *SyncPolicy) Unmarshal(dAtA []byte) error

func (*SyncPolicy) XXX_DiscardUnknown

func (m *SyncPolicy) XXX_DiscardUnknown()

func (*SyncPolicy) XXX_Marshal

func (m *SyncPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncPolicy) XXX_Merge

func (m *SyncPolicy) XXX_Merge(src proto.Message)

func (*SyncPolicy) XXX_Size

func (m *SyncPolicy) XXX_Size() int

func (*SyncPolicy) XXX_Unmarshal

func (m *SyncPolicy) XXX_Unmarshal(b []byte) error

type SyncPolicyAutomated

type SyncPolicyAutomated struct {
	// Prune specifies whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false)
	Prune bool `json:"prune,omitempty" protobuf:"bytes,1,opt,name=prune"`
	// SelfHeal specifes whether to revert resources back to their desired state upon modification in the cluster (default: false)
	SelfHeal bool `json:"selfHeal,omitempty" protobuf:"bytes,2,opt,name=selfHeal"`
	// AllowEmpty allows apps have zero live resources (default: false)
	AllowEmpty bool `json:"allowEmpty,omitempty" protobuf:"bytes,3,opt,name=allowEmpty"`
}

SyncPolicyAutomated controls the behavior of an automated sync

func (*SyncPolicyAutomated) DeepCopy

func (in *SyncPolicyAutomated) DeepCopy() *SyncPolicyAutomated

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncPolicyAutomated.

func (*SyncPolicyAutomated) DeepCopyInto

func (in *SyncPolicyAutomated) DeepCopyInto(out *SyncPolicyAutomated)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SyncPolicyAutomated) Descriptor

func (*SyncPolicyAutomated) Descriptor() ([]byte, []int)

func (*SyncPolicyAutomated) Marshal

func (m *SyncPolicyAutomated) Marshal() (dAtA []byte, err error)

func (*SyncPolicyAutomated) MarshalTo

func (m *SyncPolicyAutomated) MarshalTo(dAtA []byte) (int, error)

func (*SyncPolicyAutomated) MarshalToSizedBuffer

func (m *SyncPolicyAutomated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncPolicyAutomated) ProtoMessage

func (*SyncPolicyAutomated) ProtoMessage()

func (*SyncPolicyAutomated) Reset

func (m *SyncPolicyAutomated) Reset()

func (*SyncPolicyAutomated) Size

func (m *SyncPolicyAutomated) Size() (n int)

func (*SyncPolicyAutomated) String

func (this *SyncPolicyAutomated) String() string

func (*SyncPolicyAutomated) Unmarshal

func (m *SyncPolicyAutomated) Unmarshal(dAtA []byte) error

func (*SyncPolicyAutomated) XXX_DiscardUnknown

func (m *SyncPolicyAutomated) XXX_DiscardUnknown()

func (*SyncPolicyAutomated) XXX_Marshal

func (m *SyncPolicyAutomated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncPolicyAutomated) XXX_Merge

func (m *SyncPolicyAutomated) XXX_Merge(src proto.Message)

func (*SyncPolicyAutomated) XXX_Size

func (m *SyncPolicyAutomated) XXX_Size() int

func (*SyncPolicyAutomated) XXX_Unmarshal

func (m *SyncPolicyAutomated) XXX_Unmarshal(b []byte) error

type SyncStatus

type SyncStatus struct {
	// Status is the sync state of the comparison
	Status SyncStatusCode `json:"status" protobuf:"bytes,1,opt,name=status,casttype=SyncStatusCode"`
	// ComparedTo contains information about what has been compared
	ComparedTo ComparedTo `json:"comparedTo,omitempty" protobuf:"bytes,2,opt,name=comparedTo"`
	// Revision contains information about the revision the comparison has been performed to
	Revision string `json:"revision,omitempty" protobuf:"bytes,3,opt,name=revision"`
}

SyncStatus contains information about the currently observed live and desired states of an application

func (*SyncStatus) DeepCopy

func (in *SyncStatus) DeepCopy() *SyncStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStatus.

func (*SyncStatus) DeepCopyInto

func (in *SyncStatus) DeepCopyInto(out *SyncStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SyncStatus) Descriptor

func (*SyncStatus) Descriptor() ([]byte, []int)

func (*SyncStatus) Marshal

func (m *SyncStatus) Marshal() (dAtA []byte, err error)

func (*SyncStatus) MarshalTo

func (m *SyncStatus) MarshalTo(dAtA []byte) (int, error)

func (*SyncStatus) MarshalToSizedBuffer

func (m *SyncStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncStatus) ProtoMessage

func (*SyncStatus) ProtoMessage()

func (*SyncStatus) Reset

func (m *SyncStatus) Reset()

func (*SyncStatus) Size

func (m *SyncStatus) Size() (n int)

func (*SyncStatus) String

func (this *SyncStatus) String() string

func (*SyncStatus) Unmarshal

func (m *SyncStatus) Unmarshal(dAtA []byte) error

func (*SyncStatus) XXX_DiscardUnknown

func (m *SyncStatus) XXX_DiscardUnknown()

func (*SyncStatus) XXX_Marshal

func (m *SyncStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncStatus) XXX_Merge

func (m *SyncStatus) XXX_Merge(src proto.Message)

func (*SyncStatus) XXX_Size

func (m *SyncStatus) XXX_Size() int

func (*SyncStatus) XXX_Unmarshal

func (m *SyncStatus) XXX_Unmarshal(b []byte) error

type SyncStatusCode

type SyncStatusCode string

SyncStatusCode is a type which represents possible comparison results

const (
	// SyncStatusCodeUnknown indicates that the status of a sync could not be reliably determined
	SyncStatusCodeUnknown SyncStatusCode = "Unknown"
	// SyncStatusCodeOutOfSync indicates that desired and live states match
	SyncStatusCodeSynced SyncStatusCode = "Synced"
	// SyncStatusCodeOutOfSync indicates that there is a drift between desired and live states
	SyncStatusCodeOutOfSync SyncStatusCode = "OutOfSync"
)

Possible comparison results

type SyncStrategy

type SyncStrategy struct {
	// Apply will perform a `kubectl apply` to perform the sync.
	Apply *SyncStrategyApply `json:"apply,omitempty" protobuf:"bytes,1,opt,name=apply"`
	// Hook will submit any referenced resources to perform the sync. This is the default strategy
	Hook *SyncStrategyHook `json:"hook,omitempty" protobuf:"bytes,2,opt,name=hook"`
}

SyncStrategy controls the manner in which a sync is performed

func (*SyncStrategy) DeepCopy

func (in *SyncStrategy) DeepCopy() *SyncStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStrategy.

func (*SyncStrategy) DeepCopyInto

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

func (*SyncStrategy) Descriptor() ([]byte, []int)

func (*SyncStrategy) Force

func (m *SyncStrategy) Force() bool

Force returns true if the sync strategy specifies to perform a forced sync

func (*SyncStrategy) Marshal

func (m *SyncStrategy) Marshal() (dAtA []byte, err error)

func (*SyncStrategy) MarshalTo

func (m *SyncStrategy) MarshalTo(dAtA []byte) (int, error)

func (*SyncStrategy) MarshalToSizedBuffer

func (m *SyncStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncStrategy) ProtoMessage

func (*SyncStrategy) ProtoMessage()

func (*SyncStrategy) Reset

func (m *SyncStrategy) Reset()

func (*SyncStrategy) Size

func (m *SyncStrategy) Size() (n int)

func (*SyncStrategy) String

func (this *SyncStrategy) String() string

func (*SyncStrategy) Unmarshal

func (m *SyncStrategy) Unmarshal(dAtA []byte) error

func (*SyncStrategy) XXX_DiscardUnknown

func (m *SyncStrategy) XXX_DiscardUnknown()

func (*SyncStrategy) XXX_Marshal

func (m *SyncStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncStrategy) XXX_Merge

func (m *SyncStrategy) XXX_Merge(src proto.Message)

func (*SyncStrategy) XXX_Size

func (m *SyncStrategy) XXX_Size() int

func (*SyncStrategy) XXX_Unmarshal

func (m *SyncStrategy) XXX_Unmarshal(b []byte) error

type SyncStrategyApply

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

func (in *SyncStrategyApply) DeepCopy() *SyncStrategyApply

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStrategyApply.

func (*SyncStrategyApply) DeepCopyInto

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

func (*SyncStrategyApply) Descriptor() ([]byte, []int)

func (*SyncStrategyApply) Marshal

func (m *SyncStrategyApply) Marshal() (dAtA []byte, err error)

func (*SyncStrategyApply) MarshalTo

func (m *SyncStrategyApply) MarshalTo(dAtA []byte) (int, error)

func (*SyncStrategyApply) MarshalToSizedBuffer

func (m *SyncStrategyApply) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncStrategyApply) ProtoMessage

func (*SyncStrategyApply) ProtoMessage()

func (*SyncStrategyApply) Reset

func (m *SyncStrategyApply) Reset()

func (*SyncStrategyApply) Size

func (m *SyncStrategyApply) Size() (n int)

func (*SyncStrategyApply) String

func (this *SyncStrategyApply) String() string

func (*SyncStrategyApply) Unmarshal

func (m *SyncStrategyApply) Unmarshal(dAtA []byte) error

func (*SyncStrategyApply) XXX_DiscardUnknown

func (m *SyncStrategyApply) XXX_DiscardUnknown()

func (*SyncStrategyApply) XXX_Marshal

func (m *SyncStrategyApply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncStrategyApply) XXX_Merge

func (m *SyncStrategyApply) XXX_Merge(src proto.Message)

func (*SyncStrategyApply) XXX_Size

func (m *SyncStrategyApply) XXX_Size() int

func (*SyncStrategyApply) XXX_Unmarshal

func (m *SyncStrategyApply) XXX_Unmarshal(b []byte) error

type SyncStrategyHook

type SyncStrategyHook struct {
	// Embed SyncStrategyApply type to inherit any `apply` options
	// +optional
	SyncStrategyApply `json:",inline" 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

func (in *SyncStrategyHook) DeepCopy() *SyncStrategyHook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStrategyHook.

func (*SyncStrategyHook) DeepCopyInto

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

func (*SyncStrategyHook) Descriptor() ([]byte, []int)

func (*SyncStrategyHook) Marshal

func (m *SyncStrategyHook) Marshal() (dAtA []byte, err error)

func (*SyncStrategyHook) MarshalTo

func (m *SyncStrategyHook) MarshalTo(dAtA []byte) (int, error)

func (*SyncStrategyHook) MarshalToSizedBuffer

func (m *SyncStrategyHook) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncStrategyHook) ProtoMessage

func (*SyncStrategyHook) ProtoMessage()

func (*SyncStrategyHook) Reset

func (m *SyncStrategyHook) Reset()

func (*SyncStrategyHook) Size

func (m *SyncStrategyHook) Size() (n int)

func (*SyncStrategyHook) String

func (this *SyncStrategyHook) String() string

func (*SyncStrategyHook) Unmarshal

func (m *SyncStrategyHook) Unmarshal(dAtA []byte) error

func (*SyncStrategyHook) XXX_DiscardUnknown

func (m *SyncStrategyHook) XXX_DiscardUnknown()

func (*SyncStrategyHook) XXX_Marshal

func (m *SyncStrategyHook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncStrategyHook) XXX_Merge

func (m *SyncStrategyHook) XXX_Merge(src proto.Message)

func (*SyncStrategyHook) XXX_Size

func (m *SyncStrategyHook) XXX_Size() int

func (*SyncStrategyHook) XXX_Unmarshal

func (m *SyncStrategyHook) XXX_Unmarshal(b []byte) error

type SyncWindow

type SyncWindow struct {
	// Kind defines if the window allows or blocks syncs
	Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
	// Schedule is the time the window will begin, specified in cron format
	Schedule string `json:"schedule,omitempty" protobuf:"bytes,2,opt,name=schedule"`
	// Duration is the amount of time the sync window will be open
	Duration string `json:"duration,omitempty" protobuf:"bytes,3,opt,name=duration"`
	// Applications contains a list of applications that the window will apply to
	Applications []string `json:"applications,omitempty" protobuf:"bytes,4,opt,name=applications"`
	// Namespaces contains a list of namespaces that the window will apply to
	Namespaces []string `json:"namespaces,omitempty" protobuf:"bytes,5,opt,name=namespaces"`
	// Clusters contains a list of clusters that the window will apply to
	Clusters []string `json:"clusters,omitempty" protobuf:"bytes,6,opt,name=clusters"`
	// ManualSync enables manual syncs when they would otherwise be blocked
	ManualSync bool `json:"manualSync,omitempty" protobuf:"bytes,7,opt,name=manualSync"`
	//TimeZone of the sync that will be applied to the schedule
	TimeZone string `json:"timeZone,omitempty" protobuf:"bytes,8,opt,name=timeZone"`
}

SyncWindow contains the kind, time, duration and attributes that are used to assign the syncWindows to apps

func (SyncWindow) Active

func (w SyncWindow) Active() bool

Active returns true if the sync window is currently active

func (*SyncWindow) DeepCopy

func (in *SyncWindow) DeepCopy() *SyncWindow

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncWindow.

func (*SyncWindow) DeepCopyInto

func (in *SyncWindow) DeepCopyInto(out *SyncWindow)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SyncWindow) Descriptor

func (*SyncWindow) Descriptor() ([]byte, []int)

func (*SyncWindow) Marshal

func (m *SyncWindow) Marshal() (dAtA []byte, err error)

func (*SyncWindow) MarshalTo

func (m *SyncWindow) MarshalTo(dAtA []byte) (int, error)

func (*SyncWindow) MarshalToSizedBuffer

func (m *SyncWindow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncWindow) ProtoMessage

func (*SyncWindow) ProtoMessage()

func (*SyncWindow) Reset

func (m *SyncWindow) Reset()

func (*SyncWindow) Size

func (m *SyncWindow) Size() (n int)

func (*SyncWindow) String

func (this *SyncWindow) String() string

func (*SyncWindow) Unmarshal

func (m *SyncWindow) Unmarshal(dAtA []byte) error

func (*SyncWindow) Update

func (w *SyncWindow) Update(s string, d string, a []string, n []string, c []string, tz string) error

Update updates a sync window's settings with the given parameter

func (*SyncWindow) Validate

func (w *SyncWindow) Validate() error

Validate checks whether a sync window has valid configuration. The error returned indicates any problems that has been found.

func (*SyncWindow) XXX_DiscardUnknown

func (m *SyncWindow) XXX_DiscardUnknown()

func (*SyncWindow) XXX_Marshal

func (m *SyncWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncWindow) XXX_Merge

func (m *SyncWindow) XXX_Merge(src proto.Message)

func (*SyncWindow) XXX_Size

func (m *SyncWindow) XXX_Size() int

func (*SyncWindow) XXX_Unmarshal

func (m *SyncWindow) XXX_Unmarshal(b []byte) error

type SyncWindows

type SyncWindows []*SyncWindow

SyncWindows is a collection of sync windows in this project

func (*SyncWindows) Active

func (s *SyncWindows) Active() *SyncWindows

Active returns a list of sync windows that are currently active

func (*SyncWindows) CanSync

func (w *SyncWindows) CanSync(isManual bool) bool

CanSync returns true if a sync window currently allows a sync. isManual indicates whether the sync has been triggered manually.

func (SyncWindows) DeepCopy

func (in SyncWindows) DeepCopy() SyncWindows

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncWindows.

func (SyncWindows) DeepCopyInto

func (in SyncWindows) DeepCopyInto(out *SyncWindows)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SyncWindows) HasWindows

func (s *SyncWindows) HasWindows() bool

HasWindows returns true if SyncWindows has one or more SyncWindow

func (*SyncWindows) InactiveAllows

func (s *SyncWindows) InactiveAllows() *SyncWindows

InactiveAllows will iterate over the SyncWindows and return all inactive allow windows for the current time. If the current time is in an inactive allow window, syncs will be denied.

func (*SyncWindows) Matches

func (w *SyncWindows) Matches(app *Application) *SyncWindows

Matches returns a list of sync windows that are defined for a given application

type TLSClientConfig

type TLSClientConfig struct {
	// Insecure specifies that the 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
	// certificates 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) MarshalTo

func (m *TLSClientConfig) MarshalTo(dAtA []byte) (int, error)

func (*TLSClientConfig) MarshalToSizedBuffer

func (m *TLSClientConfig) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*TLSClientConfig) XXX_DiscardUnknown

func (m *TLSClientConfig) XXX_DiscardUnknown()

func (*TLSClientConfig) XXX_Marshal

func (m *TLSClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLSClientConfig) XXX_Merge

func (m *TLSClientConfig) XXX_Merge(src proto.Message)

func (*TLSClientConfig) XXX_Size

func (m *TLSClientConfig) XXX_Size() int

func (*TLSClientConfig) XXX_Unmarshal

func (m *TLSClientConfig) XXX_Unmarshal(b []byte) error

type TrackingMethod added in v2.2.0

type TrackingMethod string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL