v1alpha1

package
v2.4.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 45 Imported by: 222

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 (

	// 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}
)
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) IsDestinationPermitted

func (proj AppProject) IsDestinationPermitted(dst ApplicationDestination) bool

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

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

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

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) 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) 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 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"`
	// ConfigManagementPlugin 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"`
}

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

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 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 beween 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