v1alpha1

package
Version: v1.5.4 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: Apache-2.0 Imports: 40 Imported by: 0

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 (
	SyncPhasePreSync  = "PreSync"
	SyncPhaseSync     = "Sync"
	SyncPhasePostSync = "PostSync"
	SyncPhaseSyncFail = "SyncFail"
)
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 = "Successful"
	ConnectionStatusFailed     = "Failed"
)

Variables

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 GetOpenAPIDefinitions added in v1.0.0

func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group-qualified GroupResource.

func SetK8SConfigDefaults added in v1.5.4

func SetK8SConfigDefaults(config *rest.Config) error

SetK8SConfigDefaults sets Kubernetes REST config default settings

func UnmarshalToUnstructured

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

Types

type AWSAuthConfig added in v0.9.0

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 added in v0.9.0

func (in *AWSAuthConfig) DeepCopy() *AWSAuthConfig

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

func (*AWSAuthConfig) DeepCopyInto added in v0.9.0

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 added in v0.9.0

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

func (*AWSAuthConfig) Marshal added in v0.9.0

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

func (*AWSAuthConfig) MarshalTo added in v0.9.0

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

func (*AWSAuthConfig) MarshalToSizedBuffer added in v1.5.4

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

func (*AWSAuthConfig) ProtoMessage added in v0.9.0

func (*AWSAuthConfig) ProtoMessage()

func (*AWSAuthConfig) Reset added in v0.9.0

func (m *AWSAuthConfig) Reset()

func (*AWSAuthConfig) Size added in v0.9.0

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

func (*AWSAuthConfig) String added in v0.9.0

func (this *AWSAuthConfig) String() string

func (*AWSAuthConfig) Unmarshal added in v0.9.0

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

func (*AWSAuthConfig) XXX_DiscardUnknown added in v0.9.0

func (m *AWSAuthConfig) XXX_DiscardUnknown()

func (*AWSAuthConfig) XXX_Marshal added in v0.9.0

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

func (*AWSAuthConfig) XXX_Merge added in v0.9.0

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

func (*AWSAuthConfig) XXX_Size added in v0.9.0

func (m *AWSAuthConfig) XXX_Size() int

func (*AWSAuthConfig) XXX_Unmarshal added in v0.9.0

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

type AppProject added in v0.6.0

type AppProject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              AppProjectSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

AppProject 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 added in v1.5.4

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

AddGroupToRole adds an OIDC group to a role

func (*AppProject) DeepCopy added in v0.6.0

func (in *AppProject) DeepCopy() *AppProject

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

func (*AppProject) DeepCopyInto added in v0.6.0

func (in *AppProject) DeepCopyInto(out *AppProject)

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

func (*AppProject) DeepCopyObject added in v0.6.0

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

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

func (*AppProject) Descriptor added in v0.6.0

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

func (*AppProject) GetJWTToken added in v1.5.4

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) GetRoleByName added in v1.5.4

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

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

func (AppProject) IsDestinationPermitted added in v0.6.0

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 added in v1.5.4

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 added in v1.5.4

func (proj AppProject) IsLiveResourcePermitted(un *unstructured.Unstructured, server string) bool

func (AppProject) IsSourcePermitted added in v0.6.0

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 added in v0.6.0

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

func (*AppProject) MarshalTo added in v0.6.0

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

func (*AppProject) MarshalToSizedBuffer added in v1.5.4

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

func (*AppProject) NormalizePolicies added in v1.5.4

func (p *AppProject) NormalizePolicies()

NormalizePolicies normalizes the policies in the project

func (*AppProject) ProjectPoliciesString added in v0.8.0

func (proj *AppProject) ProjectPoliciesString() string

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

func (*AppProject) ProtoMessage added in v0.6.0

func (*AppProject) ProtoMessage()

func (*AppProject) RemoveGroupFromRole added in v1.5.4

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

RemoveGroupFromRole removes an OIDC group from a role

func (*AppProject) Reset added in v0.6.0

func (m *AppProject) Reset()

func (*AppProject) Size added in v0.6.0

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

func (*AppProject) String added in v0.6.0

func (this *AppProject) String() string

func (*AppProject) Unmarshal added in v0.6.0

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

func (*AppProject) ValidateJWTTokenID added in v1.5.4

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

func (*AppProject) ValidateProject added in v1.5.4

func (p *AppProject) ValidateProject() error

func (*AppProject) XXX_DiscardUnknown added in v0.9.0

func (m *AppProject) XXX_DiscardUnknown()

func (*AppProject) XXX_Marshal added in v0.9.0

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

func (*AppProject) XXX_Merge added in v0.9.0

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

func (*AppProject) XXX_Size added in v0.9.0

func (m *AppProject) XXX_Size() int

func (*AppProject) XXX_Unmarshal added in v0.9.0

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

type AppProjectList added in v0.6.0

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

AppProjectList is list of AppProject resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AppProjectList) DeepCopy added in v0.6.0

func (in *AppProjectList) DeepCopy() *AppProjectList

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

func (*AppProjectList) DeepCopyInto added in v0.6.0

func (in *AppProjectList) DeepCopyInto(out *AppProjectList)

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

func (*AppProjectList) DeepCopyObject added in v0.6.0

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

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

func (*AppProjectList) Descriptor added in v0.6.0

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

func (*AppProjectList) Marshal added in v0.6.0

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

func (*AppProjectList) MarshalTo added in v0.6.0

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

func (*AppProjectList) MarshalToSizedBuffer added in v1.5.4

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

func (*AppProjectList) ProtoMessage added in v0.6.0

func (*AppProjectList) ProtoMessage()

func (*AppProjectList) Reset added in v0.6.0

func (m *AppProjectList) Reset()

func (*AppProjectList) Size added in v0.6.0

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

func (*AppProjectList) String added in v0.6.0

func (this *AppProjectList) String() string

func (*AppProjectList) Unmarshal added in v0.6.0

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

func (*AppProjectList) XXX_DiscardUnknown added in v0.9.0

func (m *AppProjectList) XXX_DiscardUnknown()

func (*AppProjectList) XXX_Marshal added in v0.9.0

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

func (*AppProjectList) XXX_Merge added in v0.9.0

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

func (*AppProjectList) XXX_Size added in v0.9.0

func (m *AppProjectList) XXX_Size() int

func (*AppProjectList) XXX_Unmarshal added in v0.9.0

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

type AppProjectSpec added in v0.6.0

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

AppProjectSpec is the specification of an AppProject

func (*AppProjectSpec) AddWindow added in v1.5.4

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

func (*AppProjectSpec) DeepCopy added in v0.6.0

func (in *AppProjectSpec) DeepCopy() *AppProjectSpec

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

func (*AppProjectSpec) DeepCopyInto added in v0.6.0

func (in *AppProjectSpec) DeepCopyInto(out *AppProjectSpec)

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

func (*AppProjectSpec) DeleteWindow added in v1.5.4

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

func (*AppProjectSpec) Descriptor added in v0.6.0

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

func (AppProjectSpec) DestinationClusters added in v1.0.0

func (d AppProjectSpec) DestinationClusters() []string

func (*AppProjectSpec) Marshal added in v0.6.0

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

func (*AppProjectSpec) MarshalTo added in v0.6.0

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

func (*AppProjectSpec) MarshalToSizedBuffer added in v1.5.4

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

func (*AppProjectSpec) ProtoMessage added in v0.6.0

func (*AppProjectSpec) ProtoMessage()

func (*AppProjectSpec) Reset added in v0.6.0

func (m *AppProjectSpec) Reset()

func (*AppProjectSpec) Size added in v0.6.0

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

func (*AppProjectSpec) String added in v0.6.0

func (this *AppProjectSpec) String() string

func (*AppProjectSpec) Unmarshal added in v0.6.0

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

func (*AppProjectSpec) XXX_DiscardUnknown added in v0.9.0

func (m *AppProjectSpec) XXX_DiscardUnknown()

func (*AppProjectSpec) XXX_Marshal added in v0.9.0

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

func (*AppProjectSpec) XXX_Merge added in v0.9.0

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

func (*AppProjectSpec) XXX_Size added in v0.9.0

func (m *AppProjectSpec) XXX_Size() int

func (*AppProjectSpec) XXX_Unmarshal added in v0.9.0

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

func (*Application) CascadedDeletion added in v0.4.0

func (app *Application) CascadedDeletion() bool

CascadedDeletion indicates if resources finalizer is set and controller should delete app resources before deleting app

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

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

func (*Application) DeepCopyObject

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

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

func (*Application) Descriptor

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

func (*Application) GetMetadata

func (a *Application) GetMetadata() *objectMeta

func (*Application) IsRefreshRequested added in v0.11.0

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

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 added in v1.5.4

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

func (*Application) ProtoMessage

func (*Application) ProtoMessage()

func (*Application) Reset

func (m *Application) Reset()

func (*Application) SetCascadedDeletion added in v0.4.0

func (app *Application) SetCascadedDeletion(prune bool)

SetCascadedDeletion sets or remove resources finalizer

func (*Application) Size

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

func (*Application) String

func (this *Application) String() string

func (*Application) Unmarshal

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

func (*Application) XXX_DiscardUnknown added in v0.9.0

func (m *Application) XXX_DiscardUnknown()

func (*Application) XXX_Marshal added in v0.9.0

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

func (*Application) XXX_Merge added in v0.9.0

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

func (*Application) XXX_Size added in v0.9.0

func (m *Application) XXX_Size() int

func (*Application) XXX_Unmarshal added in v0.9.0

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

type ApplicationCondition added in v0.4.0

type ApplicationCondition struct {
	// Type is an application condition type
	Type ApplicationConditionType `json:"type" protobuf:"bytes,1,opt,name=type"`
	// Message contains human-readable message indicating details about condition
	Message string `json:"message" protobuf:"bytes,2,opt,name=message"`
	// LastTransitionTime is the time the condition was first observed.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
}

ApplicationCondition contains details about current application condition

func (*ApplicationCondition) DeepCopy added in v0.4.0

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

func (*ApplicationCondition) DeepCopyInto added in v0.4.0

func (in *ApplicationCondition) DeepCopyInto(out *ApplicationCondition)

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

func (*ApplicationCondition) Descriptor added in v0.4.0

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

func (*ApplicationCondition) IsError added in v0.6.0

func (condition *ApplicationCondition) IsError() bool

IsError returns true if condition is error condition

func (*ApplicationCondition) Marshal added in v0.4.0

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

func (*ApplicationCondition) MarshalTo added in v0.4.0

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

func (*ApplicationCondition) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationCondition) ProtoMessage added in v0.4.0

func (*ApplicationCondition) ProtoMessage()

func (*ApplicationCondition) Reset added in v0.4.0

func (m *ApplicationCondition) Reset()

func (*ApplicationCondition) Size added in v0.4.0

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

func (*ApplicationCondition) String added in v0.4.0

func (this *ApplicationCondition) String() string

func (*ApplicationCondition) Unmarshal added in v0.4.0

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

func (*ApplicationCondition) XXX_DiscardUnknown added in v0.9.0

func (m *ApplicationCondition) XXX_DiscardUnknown()

func (*ApplicationCondition) XXX_Marshal added in v0.9.0

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

func (*ApplicationCondition) XXX_Merge added in v0.9.0

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

func (*ApplicationCondition) XXX_Size added in v0.9.0

func (m *ApplicationCondition) XXX_Size() int

func (*ApplicationCondition) XXX_Unmarshal added in v0.9.0

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

type ApplicationConditionType added in v0.4.0

type ApplicationConditionType = string

ApplicationConditionType represents type of application condition. Type name has following convention: prefix "Error" means error condition prefix "Warning" means warning condition prefix "Info" means informational condition

type ApplicationDestination

type ApplicationDestination struct {
	// Server overrides the environment server value in the ksonnet app.yaml
	Server string `json:"server,omitempty" protobuf:"bytes,1,opt,name=server"`
	// Namespace overrides the environment namespace value in the ksonnet app.yaml
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
}

ApplicationDestination contains deployment destination information

func (*ApplicationDestination) DeepCopy

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 added in v0.11.0

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

func (*ApplicationDestination) Marshal

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

func (*ApplicationDestination) MarshalTo

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

func (*ApplicationDestination) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationDestination) ProtoMessage

func (*ApplicationDestination) ProtoMessage()

func (*ApplicationDestination) Reset

func (m *ApplicationDestination) Reset()

func (*ApplicationDestination) Size

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

func (*ApplicationDestination) String

func (this *ApplicationDestination) String() string

func (*ApplicationDestination) Unmarshal

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

func (*ApplicationDestination) XXX_DiscardUnknown added in v0.9.0

func (m *ApplicationDestination) XXX_DiscardUnknown()

func (*ApplicationDestination) XXX_Marshal added in v0.9.0

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

func (*ApplicationDestination) XXX_Merge added in v0.9.0

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

func (*ApplicationDestination) XXX_Size added in v0.9.0

func (m *ApplicationDestination) XXX_Size() int

func (*ApplicationDestination) XXX_Unmarshal added in v0.9.0

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 added in v1.5.4

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 added in v0.9.0

func (m *ApplicationList) XXX_DiscardUnknown()

func (*ApplicationList) XXX_Marshal added in v0.9.0

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

func (*ApplicationList) XXX_Merge added in v0.9.0

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

func (*ApplicationList) XXX_Size added in v0.9.0

func (m *ApplicationList) XXX_Size() int

func (*ApplicationList) XXX_Unmarshal added in v0.9.0

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

type ApplicationSource

type ApplicationSource struct {
	// RepoURL is the repository URL of the application manifests
	RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"`
	// Path is a directory path within the Git repository
	Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`
	// TargetRevision defines the commit, tag, or branch in which to sync the application to.
	// If omitted, will sync to HEAD
	TargetRevision string `json:"targetRevision,omitempty" protobuf:"bytes,4,opt,name=targetRevision"`
	// 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"`
	// Ksonnet holds ksonnet specific options
	Ksonnet *ApplicationSourceKsonnet `json:"ksonnet,omitempty" protobuf:"bytes,9,opt,name=ksonnet"`
	// 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
	Chart string `json:"chart,omitempty" protobuf:"bytes,12,opt,name=chart"`
}

ApplicationSource contains information about github repository, path within repository and target application environment.

func (*ApplicationSource) DeepCopy

func (in *ApplicationSource) DeepCopy() *ApplicationSource

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

func (*ApplicationSource) DeepCopyInto

func (in *ApplicationSource) DeepCopyInto(out *ApplicationSource)

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

func (*ApplicationSource) Descriptor

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

func (*ApplicationSource) Equals

func (source *ApplicationSource) Equals(other ApplicationSource) bool

Equals compares two instances of ApplicationSource and return true if instances are equal.

func (*ApplicationSource) ExplicitType added in v0.12.0

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

func (*ApplicationSource) IsHelm added in v1.5.4

func (a *ApplicationSource) IsHelm() bool

func (*ApplicationSource) IsZero added in v0.12.0

func (a *ApplicationSource) IsZero() bool

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 added in v1.5.4

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 added in v0.9.0

func (m *ApplicationSource) XXX_DiscardUnknown()

func (*ApplicationSource) XXX_Marshal added in v0.9.0

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

func (*ApplicationSource) XXX_Merge added in v0.9.0

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

func (*ApplicationSource) XXX_Size added in v0.9.0

func (m *ApplicationSource) XXX_Size() int

func (*ApplicationSource) XXX_Unmarshal added in v0.9.0

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

type ApplicationSourceDirectory added in v0.12.0

type ApplicationSourceDirectory struct {
	Recurse bool                     `json:"recurse,omitempty" protobuf:"bytes,1,opt,name=recurse"`
	Jsonnet ApplicationSourceJsonnet `json:"jsonnet,omitempty" protobuf:"bytes,2,opt,name=jsonnet"`
}

func (*ApplicationSourceDirectory) DeepCopy added in v0.12.0

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

func (*ApplicationSourceDirectory) DeepCopyInto added in v0.12.0

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

func (*ApplicationSourceDirectory) Descriptor added in v0.12.0

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

func (*ApplicationSourceDirectory) IsZero added in v0.12.0

func (d *ApplicationSourceDirectory) IsZero() bool

func (*ApplicationSourceDirectory) Marshal added in v0.12.0

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

func (*ApplicationSourceDirectory) MarshalTo added in v0.12.0

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

func (*ApplicationSourceDirectory) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationSourceDirectory) ProtoMessage added in v0.12.0

func (*ApplicationSourceDirectory) ProtoMessage()

func (*ApplicationSourceDirectory) Reset added in v0.12.0

func (m *ApplicationSourceDirectory) Reset()

func (*ApplicationSourceDirectory) Size added in v0.12.0

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

func (*ApplicationSourceDirectory) String added in v0.12.0

func (this *ApplicationSourceDirectory) String() string

func (*ApplicationSourceDirectory) Unmarshal added in v0.12.0

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

func (*ApplicationSourceDirectory) XXX_DiscardUnknown added in v0.12.0

func (m *ApplicationSourceDirectory) XXX_DiscardUnknown()

func (*ApplicationSourceDirectory) XXX_Marshal added in v0.12.0

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

func (*ApplicationSourceDirectory) XXX_Merge added in v0.12.0

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

func (*ApplicationSourceDirectory) XXX_Size added in v0.12.0

func (m *ApplicationSourceDirectory) XXX_Size() int

func (*ApplicationSourceDirectory) XXX_Unmarshal added in v0.12.0

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

type ApplicationSourceHelm added in v0.11.0

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 are parameters to the helm template
	Parameters []HelmParameter `json:"parameters,omitempty" protobuf:"bytes,2,opt,name=parameters"`
	// The Helm release name. If omitted it will use the application name
	ReleaseName string `json:"releaseName,omitempty" protobuf:"bytes,3,opt,name=releaseName"`
	// Values is Helm values, 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"`
}

ApplicationSourceHelm holds helm specific options

func (*ApplicationSourceHelm) AddFileParameter added in v1.5.4

func (in *ApplicationSourceHelm) AddFileParameter(p HelmFileParameter)

func (*ApplicationSourceHelm) AddParameter added in v1.5.4

func (in *ApplicationSourceHelm) AddParameter(p HelmParameter)

func (*ApplicationSourceHelm) DeepCopy added in v0.11.0

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

func (*ApplicationSourceHelm) DeepCopyInto added in v0.11.0

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 added in v0.11.0

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

func (*ApplicationSourceHelm) IsZero added in v0.11.1

func (h *ApplicationSourceHelm) IsZero() bool

func (*ApplicationSourceHelm) Marshal added in v0.11.0

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

func (*ApplicationSourceHelm) MarshalTo added in v0.11.0

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

func (*ApplicationSourceHelm) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationSourceHelm) ProtoMessage added in v0.11.0

func (*ApplicationSourceHelm) ProtoMessage()

func (*ApplicationSourceHelm) Reset added in v0.11.0

func (m *ApplicationSourceHelm) Reset()

func (*ApplicationSourceHelm) Size added in v0.11.0

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

func (*ApplicationSourceHelm) String added in v0.11.0

func (this *ApplicationSourceHelm) String() string

func (*ApplicationSourceHelm) Unmarshal added in v0.11.0

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

func (*ApplicationSourceHelm) XXX_DiscardUnknown added in v0.11.0

func (m *ApplicationSourceHelm) XXX_DiscardUnknown()

func (*ApplicationSourceHelm) XXX_Marshal added in v0.11.0

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

func (*ApplicationSourceHelm) XXX_Merge added in v0.11.0

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

func (*ApplicationSourceHelm) XXX_Size added in v0.11.0

func (m *ApplicationSourceHelm) XXX_Size() int

func (*ApplicationSourceHelm) XXX_Unmarshal added in v0.11.0

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

type ApplicationSourceJsonnet added in v0.12.0

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

ApplicationSourceJsonnet holds jsonnet specific options

func (*ApplicationSourceJsonnet) DeepCopy added in v0.12.0

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

func (*ApplicationSourceJsonnet) DeepCopyInto added in v0.12.0

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 added in v0.12.0

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

func (*ApplicationSourceJsonnet) IsZero added in v0.12.0

func (j *ApplicationSourceJsonnet) IsZero() bool

func (*ApplicationSourceJsonnet) Marshal added in v0.12.0

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

func (*ApplicationSourceJsonnet) MarshalTo added in v0.12.0

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

func (*ApplicationSourceJsonnet) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationSourceJsonnet) ProtoMessage added in v0.12.0

func (*ApplicationSourceJsonnet) ProtoMessage()

func (*ApplicationSourceJsonnet) Reset added in v0.12.0

func (m *ApplicationSourceJsonnet) Reset()

func (*ApplicationSourceJsonnet) Size added in v0.12.0

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

func (*ApplicationSourceJsonnet) String added in v0.12.0

func (this *ApplicationSourceJsonnet) String() string

func (*ApplicationSourceJsonnet) Unmarshal added in v0.12.0

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

func (*ApplicationSourceJsonnet) XXX_DiscardUnknown added in v0.12.0

func (m *ApplicationSourceJsonnet) XXX_DiscardUnknown()

func (*ApplicationSourceJsonnet) XXX_Marshal added in v0.12.0

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

func (*ApplicationSourceJsonnet) XXX_Merge added in v0.12.0

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

func (*ApplicationSourceJsonnet) XXX_Size added in v0.12.0

func (m *ApplicationSourceJsonnet) XXX_Size() int

func (*ApplicationSourceJsonnet) XXX_Unmarshal added in v0.12.0

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

type ApplicationSourceKsonnet added in v0.11.0

type ApplicationSourceKsonnet struct {
	// Environment is a ksonnet application environment name
	Environment string `json:"environment,omitempty" protobuf:"bytes,1,opt,name=environment"`
	// Parameters are a list of ksonnet component parameter override values
	Parameters []KsonnetParameter `json:"parameters,omitempty" protobuf:"bytes,2,opt,name=parameters"`
}

ApplicationSourceKsonnet holds ksonnet specific options

func (*ApplicationSourceKsonnet) DeepCopy added in v0.11.0

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

func (*ApplicationSourceKsonnet) DeepCopyInto added in v0.11.0

func (in *ApplicationSourceKsonnet) DeepCopyInto(out *ApplicationSourceKsonnet)

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

func (*ApplicationSourceKsonnet) Descriptor added in v0.11.0

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

func (*ApplicationSourceKsonnet) IsZero added in v0.11.1

func (k *ApplicationSourceKsonnet) IsZero() bool

func (*ApplicationSourceKsonnet) Marshal added in v0.11.0

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

func (*ApplicationSourceKsonnet) MarshalTo added in v0.11.0

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

func (*ApplicationSourceKsonnet) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationSourceKsonnet) ProtoMessage added in v0.11.0

func (*ApplicationSourceKsonnet) ProtoMessage()

func (*ApplicationSourceKsonnet) Reset added in v0.11.0

func (m *ApplicationSourceKsonnet) Reset()

func (*ApplicationSourceKsonnet) Size added in v0.11.0

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

func (*ApplicationSourceKsonnet) String added in v0.11.0

func (this *ApplicationSourceKsonnet) String() string

func (*ApplicationSourceKsonnet) Unmarshal added in v0.11.0

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

func (*ApplicationSourceKsonnet) XXX_DiscardUnknown added in v0.11.0

func (m *ApplicationSourceKsonnet) XXX_DiscardUnknown()

func (*ApplicationSourceKsonnet) XXX_Marshal added in v0.11.0

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

func (*ApplicationSourceKsonnet) XXX_Merge added in v0.11.0

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

func (*ApplicationSourceKsonnet) XXX_Size added in v0.11.0

func (m *ApplicationSourceKsonnet) XXX_Size() int

func (*ApplicationSourceKsonnet) XXX_Unmarshal added in v0.11.0

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

type ApplicationSourceKustomize added in v0.11.0

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 are kustomize image overrides
	Images KustomizeImages `json:"images,omitempty" protobuf:"bytes,3,opt,name=images"`
	// CommonLabels adds additional kustomize commonLabels
	CommonLabels map[string]string `json:"commonLabels,omitempty" protobuf:"bytes,4,opt,name=commonLabels"`
	// Version contains optional Kustomize version
	Version string `json:"version,omitempty" protobuf:"bytes,5,opt,name=version"`
}

ApplicationSourceKustomize holds kustomize specific options

func (*ApplicationSourceKustomize) DeepCopy added in v0.11.0

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

func (*ApplicationSourceKustomize) DeepCopyInto added in v0.11.0

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

func (*ApplicationSourceKustomize) Descriptor added in v0.11.0

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

func (*ApplicationSourceKustomize) IsZero added in v0.11.1

func (k *ApplicationSourceKustomize) IsZero() bool

func (*ApplicationSourceKustomize) Marshal added in v0.11.0

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

func (*ApplicationSourceKustomize) MarshalTo added in v0.11.0

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

func (*ApplicationSourceKustomize) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationSourceKustomize) MergeImage added in v1.5.4

func (k *ApplicationSourceKustomize) MergeImage(image KustomizeImage)

either updates or adds the images

func (*ApplicationSourceKustomize) ProtoMessage added in v0.11.0

func (*ApplicationSourceKustomize) ProtoMessage()

func (*ApplicationSourceKustomize) Reset added in v0.11.0

func (m *ApplicationSourceKustomize) Reset()

func (*ApplicationSourceKustomize) Size added in v0.11.0

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

func (*ApplicationSourceKustomize) String added in v0.11.0

func (this *ApplicationSourceKustomize) String() string

func (*ApplicationSourceKustomize) Unmarshal added in v0.11.0

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

func (*ApplicationSourceKustomize) XXX_DiscardUnknown added in v0.11.0

func (m *ApplicationSourceKustomize) XXX_DiscardUnknown()

func (*ApplicationSourceKustomize) XXX_Marshal added in v0.11.0

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

func (*ApplicationSourceKustomize) XXX_Merge added in v0.11.0

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

func (*ApplicationSourceKustomize) XXX_Size added in v0.11.0

func (m *ApplicationSourceKustomize) XXX_Size() int

func (*ApplicationSourceKustomize) XXX_Unmarshal added in v0.11.0

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

type ApplicationSourcePlugin added in v0.12.0

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 config management plugin specific options

func (*ApplicationSourcePlugin) DeepCopy added in v0.12.0

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

func (*ApplicationSourcePlugin) DeepCopyInto added in v0.12.0

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 added in v0.12.0

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

func (*ApplicationSourcePlugin) IsZero added in v0.12.0

func (c *ApplicationSourcePlugin) IsZero() bool

func (*ApplicationSourcePlugin) Marshal added in v0.12.0

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

func (*ApplicationSourcePlugin) MarshalTo added in v0.12.0

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

func (*ApplicationSourcePlugin) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationSourcePlugin) ProtoMessage added in v0.12.0

func (*ApplicationSourcePlugin) ProtoMessage()

func (*ApplicationSourcePlugin) Reset added in v0.12.0

func (m *ApplicationSourcePlugin) Reset()

func (*ApplicationSourcePlugin) Size added in v0.12.0

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

func (*ApplicationSourcePlugin) String added in v0.12.0

func (this *ApplicationSourcePlugin) String() string

func (*ApplicationSourcePlugin) Unmarshal added in v0.12.0

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

func (*ApplicationSourcePlugin) XXX_DiscardUnknown added in v0.12.0

func (m *ApplicationSourcePlugin) XXX_DiscardUnknown()

func (*ApplicationSourcePlugin) XXX_Marshal added in v0.12.0

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

func (*ApplicationSourcePlugin) XXX_Merge added in v0.12.0

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

func (*ApplicationSourcePlugin) XXX_Size added in v0.12.0

func (m *ApplicationSourcePlugin) XXX_Size() int

func (*ApplicationSourcePlugin) XXX_Unmarshal added in v0.12.0

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

type ApplicationSourceType added in v0.11.0

type ApplicationSourceType string
const (
	ApplicationSourceTypeHelm      ApplicationSourceType = "Helm"
	ApplicationSourceTypeKustomize ApplicationSourceType = "Kustomize"
	ApplicationSourceTypeKsonnet   ApplicationSourceType = "Ksonnet"
	ApplicationSourceTypeDirectory ApplicationSourceType = "Directory"
	ApplicationSourceTypePlugin    ApplicationSourceType = "Plugin"
)

type ApplicationSpec

type ApplicationSpec struct {
	// Source is a reference to the location ksonnet application definition
	Source ApplicationSource `json:"source" protobuf:"bytes,1,opt,name=source"`
	// Destination overrides the kubernetes server and namespace defined in the environment ksonnet app.yaml
	Destination ApplicationDestination `json:"destination" protobuf:"bytes,2,name=destination"`
	// Project is a application project name. Empty name means that application belongs to 'default' project.
	Project string `json:"project" protobuf:"bytes,3,name=project"`
	// SyncPolicy controls when a sync will be performed
	SyncPolicy *SyncPolicy `json:"syncPolicy,omitempty" protobuf:"bytes,4,name=syncPolicy"`
	// IgnoreDifferences controls resources fields which should be ignored during comparison
	IgnoreDifferences []ResourceIgnoreDifferences `json:"ignoreDifferences,omitempty" protobuf:"bytes,5,name=ignoreDifferences"`
	// Infos contains a list of useful information (URLs, email addresses, and plain text) that relates to the application
	Info []Info `json:"info,omitempty" protobuf:"bytes,6,name=info"`
	// This limits this number of items kept in the apps revision history.
	// 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 added in v0.6.0

func (spec ApplicationSpec) GetProject() string

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

func (ApplicationSpec) GetRevisionHistoryLimit added in v1.5.4

func (spec ApplicationSpec) GetRevisionHistoryLimit() int

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 added in v1.5.4

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 added in v0.9.0

func (m *ApplicationSpec) XXX_DiscardUnknown()

func (*ApplicationSpec) XXX_Marshal added in v0.9.0

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

func (*ApplicationSpec) XXX_Merge added in v0.9.0

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

func (*ApplicationSpec) XXX_Size added in v0.9.0

func (m *ApplicationSpec) XXX_Size() int

func (*ApplicationSpec) XXX_Unmarshal added in v0.9.0

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

type ApplicationStatus

type ApplicationStatus struct {
	Resources  []ResourceStatus       `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"`
	Sync       SyncStatus             `json:"sync,omitempty" protobuf:"bytes,2,opt,name=sync"`
	Health     HealthStatus           `json:"health,omitempty" protobuf:"bytes,3,opt,name=health"`
	History    RevisionHistories      `json:"history,omitempty" protobuf:"bytes,4,opt,name=history"`
	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 *OperationState `json:"operationState,omitempty" protobuf:"bytes,7,opt,name=operationState"`
	// ObservedAt indicates when the application state was updated without querying latest git state
	ObservedAt *metav1.Time          `json:"observedAt,omitempty" protobuf:"bytes,8,opt,name=observedAt"`
	SourceType ApplicationSourceType `json:"sourceType,omitempty" protobuf:"bytes,9,opt,name=sourceType"`
	Summary    ApplicationSummary    `json:"summary,omitempty" protobuf:"bytes,10,opt,name=summary"`
}

ApplicationStatus contains information about application sync, health status

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) GetConditions added in v1.5.4

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 added in v1.5.4

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

func (*ApplicationStatus) ProtoMessage

func (*ApplicationStatus) ProtoMessage()

func (*ApplicationStatus) Reset

func (m *ApplicationStatus) Reset()

func (*ApplicationStatus) SetConditions added in v1.5.4

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 added in v0.9.0

func (m *ApplicationStatus) XXX_DiscardUnknown()

func (*ApplicationStatus) XXX_Marshal added in v0.9.0

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

func (*ApplicationStatus) XXX_Merge added in v0.9.0

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

func (*ApplicationStatus) XXX_Size added in v0.9.0

func (m *ApplicationStatus) XXX_Size() int

func (*ApplicationStatus) XXX_Unmarshal added in v0.9.0

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

type ApplicationSummary added in v1.0.0

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

func (*ApplicationSummary) DeepCopy added in v1.0.0

func (in *ApplicationSummary) DeepCopy() *ApplicationSummary

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

func (*ApplicationSummary) DeepCopyInto added in v1.0.0

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 added in v1.0.0

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

func (*ApplicationSummary) Marshal added in v1.0.0

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

func (*ApplicationSummary) MarshalTo added in v1.0.0

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

func (*ApplicationSummary) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationSummary) ProtoMessage added in v1.0.0

func (*ApplicationSummary) ProtoMessage()

func (*ApplicationSummary) Reset added in v1.0.0

func (m *ApplicationSummary) Reset()

func (*ApplicationSummary) Size added in v1.0.0

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

func (*ApplicationSummary) String added in v1.0.0

func (this *ApplicationSummary) String() string

func (*ApplicationSummary) Unmarshal added in v1.0.0

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

func (*ApplicationSummary) XXX_DiscardUnknown added in v1.0.0

func (m *ApplicationSummary) XXX_DiscardUnknown()

func (*ApplicationSummary) XXX_Marshal added in v1.0.0

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

func (*ApplicationSummary) XXX_Merge added in v1.0.0

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

func (*ApplicationSummary) XXX_Size added in v1.0.0

func (m *ApplicationSummary) XXX_Size() int

func (*ApplicationSummary) XXX_Unmarshal added in v1.0.0

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

type ApplicationTree added in v1.0.0

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

ApplicationTree holds nodes which belongs to the application

func (*ApplicationTree) DeepCopy added in v1.0.0

func (in *ApplicationTree) DeepCopy() *ApplicationTree

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

func (*ApplicationTree) DeepCopyInto added in v1.0.0

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 added in v1.0.0

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

func (*ApplicationTree) FindNode added in v1.0.0

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

func (*ApplicationTree) GetSummary added in v1.0.0

func (t *ApplicationTree) GetSummary() ApplicationSummary

func (*ApplicationTree) Marshal added in v1.0.0

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

func (*ApplicationTree) MarshalTo added in v1.0.0

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

func (*ApplicationTree) MarshalToSizedBuffer added in v1.5.4

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

func (*ApplicationTree) ProtoMessage added in v1.0.0

func (*ApplicationTree) ProtoMessage()

func (*ApplicationTree) Reset added in v1.0.0

func (m *ApplicationTree) Reset()

func (*ApplicationTree) Size added in v1.0.0

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

func (*ApplicationTree) String added in v1.0.0

func (this *ApplicationTree) String() string

func (*ApplicationTree) Unmarshal added in v1.0.0

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

func (*ApplicationTree) XXX_DiscardUnknown added in v1.0.0

func (m *ApplicationTree) XXX_DiscardUnknown()

func (*ApplicationTree) XXX_Marshal added in v1.0.0

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

func (*ApplicationTree) XXX_Merge added in v1.0.0

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

func (*ApplicationTree) XXX_Size added in v1.0.0

func (m *ApplicationTree) XXX_Size() int

func (*ApplicationTree) XXX_Unmarshal added in v1.0.0

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 added in v1.5.4

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 added in v0.9.0

func (m *ApplicationWatchEvent) XXX_DiscardUnknown()

func (*ApplicationWatchEvent) XXX_Marshal added in v0.9.0

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

func (*ApplicationWatchEvent) XXX_Merge added in v0.9.0

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

func (*ApplicationWatchEvent) XXX_Size added in v0.9.0

func (m *ApplicationWatchEvent) XXX_Size() int

func (*ApplicationWatchEvent) XXX_Unmarshal added in v0.9.0

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

type Cluster

type Cluster struct {
	// Server is the API server URL of the Kubernetes cluster
	Server string `json:"server" protobuf:"bytes,1,opt,name=server"`
	// Name of the cluster. If omitted, will use the server address
	Name string `json:"name" protobuf:"bytes,2,opt,name=name"`
	// Config holds cluster information for connecting to a cluster
	Config ClusterConfig `json:"config" protobuf:"bytes,3,opt,name=config"`
	// ConnectionState contains information about cluster connection state
	ConnectionState ConnectionState `json:"connectionState,omitempty" protobuf:"bytes,4,opt,name=connectionState"`
	// 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 would be ignored if namespace list if not empty.
	Namespaces []string `json:"namespaces,omitempty" protobuf:"bytes,6,opt,name=namespaces"`
}

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

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

func (*Cluster) MarshalTo

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

func (*Cluster) MarshalToSizedBuffer