v1alpha1

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: Apache-2.0 Imports: 18 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 (
	// 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"
)
View Source
const (
	HealthStatusUnknown     = "Unknown"
	HealthStatusProgressing = "Progressing"
	HealthStatusHealthy     = "Healthy"
	HealthStatusDegraded    = "Degraded"
	HealthStatusMissing     = "Missing"
)
View Source
const (
	ConnectionStatusUnknown    = "Unknown"
	ConnectionStatusSuccessful = "Successful"
	ConnectionStatusFailed     = "Failed"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
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 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) 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 (dst *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 is a definition of AppProject resource. +genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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

func (proj AppProject) IsDestinationPermitted(dst ApplicationDestination) bool

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

func (AppProject) IsResourcePermitted added in v0.9.0

func (proj AppProject) IsResourcePermitted(res metav1.GroupKind, namespaced bool) 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) ProjectPoliciesString added in v0.8.0

func (proj *AppProject) ProjectPoliciesString() string

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

func (*AppProject) ProtoMessage added in v0.6.0

func (*AppProject) ProtoMessage()

func (*AppProject) Reset added in v0.6.0

func (m *AppProject) Reset()

func (*AppProject) Size added in v0.6.0

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

func (*AppProject) String added in v0.6.0

func (this *AppProject) String() string

func (*AppProject) Unmarshal added in v0.6.0

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

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 (dst *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) 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 (dst *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 git repository URLs which can be used for deployment
	SourceRepos []string `json:"sourceRepos" protobuf:"bytes,1,name=sourceRepos"`

	// Destinations contains list of destinations available for deployment
	Destinations []ApplicationDestination `json:"destinations" protobuf:"bytes,2,name=destination"`

	// Description contains optional project description
	Description string `json:"description,omitempty" protobuf:"bytes,3,opt,name=description"`

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

AppProjectSpec represents

func (*AppProjectSpec) DeepCopy added in v0.6.0

func (in *AppProjectSpec) DeepCopy() *AppProjectSpec

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

func (*AppProjectSpec) DeepCopyInto added in v0.6.0

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

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

func (*AppProjectSpec) Descriptor added in v0.6.0

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

func (*AppProjectSpec) Marshal added in v0.6.0

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

func (*AppProjectSpec) MarshalTo added in v0.6.0

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

func (*AppProjectSpec) ProtoMessage added in v0.6.0

func (*AppProjectSpec) ProtoMessage()

func (*AppProjectSpec) Reset added in v0.6.0

func (m *AppProjectSpec) Reset()

func (*AppProjectSpec) Size added in v0.6.0

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

func (*AppProjectSpec) String added in v0.6.0

func (this *AppProjectSpec) String() string

func (*AppProjectSpec) Unmarshal added in v0.6.0

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

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 (dst *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" protobuf:"bytes,3,opt,name=status"`
	Operation         *Operation        `json:"operation,omitempty" protobuf:"bytes,4,opt,name=operation"`
}

Application is a definition of Application resource. +genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*Application) CascadedDeletion added in v0.4.0

func (app *Application) CascadedDeletion() bool

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

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

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

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

func (*Application) DeepCopyObject

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

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

func (*Application) Descriptor

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

func (*Application) GetMetadata

func (a *Application) GetMetadata() *objectMeta

func (*Application) Marshal

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

func (*Application) MarshalTo

func (m *Application) MarshalTo(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 (dst *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"`
}

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) 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 (dst *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) Marshal

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

func (*ApplicationDestination) MarshalTo

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

func (*ApplicationDestination) ProtoMessage

func (*ApplicationDestination) ProtoMessage()

func (*ApplicationDestination) Reset

func (m *ApplicationDestination) Reset()

func (*ApplicationDestination) Size

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

func (*ApplicationDestination) String

func (this *ApplicationDestination) String() string

func (*ApplicationDestination) Unmarshal

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

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 (dst *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) 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 (dst *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 git repository URL of the application manifests
	RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"`
	// Path is a directory path within the repository containing a
	Path string `json:"path" protobuf:"bytes,2,opt,name=path"`
	// Environment is a ksonnet application environment name
	Environment string `json:"environment,omitempty" protobuf:"bytes,3,opt,name=environment"`
	// TargetRevision defines the commit, tag, or branch in which to sync the application to.
	// If omitted, will sync to HEAD
	TargetRevision string `json:"targetRevision,omitempty" protobuf:"bytes,4,opt,name=targetRevision"`
	// ComponentParameterOverrides are a list of parameter override values
	ComponentParameterOverrides []ComponentParameter `json:"componentParameterOverrides,omitempty" protobuf:"bytes,5,opt,name=componentParameterOverrides"`
	// ValuesFiles is a list of Helm values files to use when generating a template
	ValuesFiles []string `json:"valuesFiles,omitempty" protobuf:"bytes,6,opt,name=valuesFiles"`
}

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

func (*ApplicationSource) DeepCopy

func (in *ApplicationSource) DeepCopy() *ApplicationSource

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

func (*ApplicationSource) DeepCopyInto

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

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

func (*ApplicationSource) Descriptor

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

func (ApplicationSource) Equals

func (source ApplicationSource) Equals(other ApplicationSource) bool

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

func (*ApplicationSource) Marshal

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

func (*ApplicationSource) MarshalTo

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

func (*ApplicationSource) ProtoMessage

func (*ApplicationSource) ProtoMessage()

func (*ApplicationSource) Reset

func (m *ApplicationSource) Reset()

func (*ApplicationSource) Size

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

func (*ApplicationSource) String

func (this *ApplicationSource) String() string

func (*ApplicationSource) Unmarshal

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

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 (dst *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 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"`
}

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

func (ApplicationSpec) BelongsToDefaultProject added in v0.6.0

func (spec ApplicationSpec) BelongsToDefaultProject() bool

func (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

func (*ApplicationSpec) Descriptor

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

func (ApplicationSpec) GetProject added in v0.6.0

func (spec ApplicationSpec) GetProject() string

func (*ApplicationSpec) Marshal

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

func (*ApplicationSpec) MarshalTo

func (m *ApplicationSpec) MarshalTo(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 (dst *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 {
	ComparisonResult ComparisonResult       `json:"comparisonResult" protobuf:"bytes,1,opt,name=comparisonResult"`
	History          []DeploymentInfo       `json:"history" protobuf:"bytes,2,opt,name=history"`
	Parameters       []ComponentParameter   `json:"parameters,omitempty" protobuf:"bytes,3,opt,name=parameters"`
	Health           HealthStatus           `json:"health,omitempty" protobuf:"bytes,4,opt,name=health"`
	OperationState   *OperationState        `json:"operationState,omitempty" protobuf:"bytes,5,opt,name=operationState"`
	Conditions       []ApplicationCondition `json:"conditions,omitempty" protobuf:"bytes,6,opt,name=conditions"`
}

ApplicationStatus contains information about application status in target environment.

func (*ApplicationStatus) DeepCopy

func (in *ApplicationStatus) DeepCopy() *ApplicationStatus

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

func (*ApplicationStatus) DeepCopyInto

func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)

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

func (*ApplicationStatus) Descriptor

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

func (*ApplicationStatus) GetErrorConditions added in v0.6.0

func (status *ApplicationStatus) GetErrorConditions() []ApplicationCondition

GetErrorConditions returns list of application error conditions

func (*ApplicationStatus) Marshal

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

func (*ApplicationStatus) MarshalTo

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

func (*ApplicationStatus) ProtoMessage

func (*ApplicationStatus) ProtoMessage()

func (*ApplicationStatus) Reset

func (m *ApplicationStatus) Reset()

func (*ApplicationStatus) Size

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

func (*ApplicationStatus) String

func (this *ApplicationStatus) String() string

func (*ApplicationStatus) Unmarshal

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

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 (dst *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 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) 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 (dst *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"`
}

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

func (*Cluster) ProtoMessage()

func (*Cluster) RESTConfig

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

RESTConfig returns a go-client REST config from cluster

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

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal added in v0.9.0

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

func (*Cluster) XXX_Merge added in v0.9.0

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

func (*Cluster) XXX_Size added in v0.9.0

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal added in v0.9.0

func (m *Cluster) 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" protobuf:"bytes,5,opt,name=awsAuthConfig"`
}

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

func (m *ClusterConfig) XXX_DiscardUnknown()

func (*ClusterConfig) XXX_Marshal added in v0.9.0

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

func (*ClusterConfig) XXX_Merge added in v0.9.0

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

func (*ClusterConfig) XXX_Size added in v0.9.0

func (m *ClusterConfig) XXX_Size() int

func (*ClusterConfig) XXX_Unmarshal added in v0.9.0

func (m *ClusterConfig) 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) 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 added in v0.9.0

func (m *ClusterList) XXX_DiscardUnknown()

func (*ClusterList) XXX_Marshal added in v0.9.0

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

func (*ClusterList) XXX_Merge added in v0.9.0

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

func (*ClusterList) XXX_Size added in v0.9.0

func (m *ClusterList) XXX_Size() int

func (*ClusterList) XXX_Unmarshal added in v0.9.0

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

type ComparisonResult

type ComparisonResult struct {
	ComparedAt metav1.Time       `json:"comparedAt" protobuf:"bytes,1,opt,name=comparedAt"`
	ComparedTo ApplicationSource `json:"comparedTo" protobuf:"bytes,2,opt,name=comparedTo"`
	Status     ComparisonStatus  `json:"status" protobuf:"bytes,5,opt,name=status,casttype=ComparisonStatus"`
	Resources  []ResourceState   `json:"resources" protobuf:"bytes,6,opt,name=resources"`
	Revision   string            `json:"revision" protobuf:"bytes,7,opt,name=revision"`
}

ComparisonResult is a comparison result of application spec and deployed application.

func (*ComparisonResult) DeepCopy

func (in *ComparisonResult) DeepCopy() *ComparisonResult

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

func (*ComparisonResult) DeepCopyInto

func (in *ComparisonResult) DeepCopyInto(out *ComparisonResult)

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

func (*ComparisonResult) Descriptor

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

func (*ComparisonResult) LiveObjects

func (cr *ComparisonResult) LiveObjects() ([]*unstructured.Unstructured, error)

LiveObjects deserializes the list of live states into unstructured objects

func (*ComparisonResult) Marshal

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

func (*ComparisonResult) MarshalTo

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

func (*ComparisonResult) ProtoMessage

func (*ComparisonResult) ProtoMessage()

func (*ComparisonResult) Reset

func (m *ComparisonResult) Reset()

func (*ComparisonResult) Size

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

func (*ComparisonResult) String

func (this *ComparisonResult) String() string

func (*ComparisonResult) TargetObjects

func (cr *ComparisonResult) TargetObjects() ([]*unstructured.Unstructured, error)

TargetObjects deserializes the list of target states into unstructured objects

func (*ComparisonResult) Unmarshal

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

func (*ComparisonResult) XXX_DiscardUnknown added in v0.9.0

func (m *ComparisonResult) XXX_DiscardUnknown()

func (*ComparisonResult) XXX_Marshal added in v0.9.0

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

func (*ComparisonResult) XXX_Merge added in v0.9.0

func (dst *ComparisonResult) XXX_Merge(src proto.Message)

func (*ComparisonResult) XXX_Size added in v0.9.0

func (m *ComparisonResult) XXX_Size() int

func (*ComparisonResult) XXX_Unmarshal added in v0.9.0

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

type ComparisonStatus

type ComparisonStatus string

ComparisonStatus is a type which represents possible comparison results

const (
	ComparisonStatusUnknown   ComparisonStatus = "Unknown"
	ComparisonStatusSynced    ComparisonStatus = "Synced"
	ComparisonStatusOutOfSync ComparisonStatus = "OutOfSync"
)

Possible comparison results

type ComponentParameter

type ComponentParameter struct {
	Component string `json:"component,omitempty" protobuf:"bytes,1,opt,name=component"`
	Name      string `json:"name" protobuf:"bytes,2,opt,name=name"`
	Value     string `json:"value" protobuf:"bytes,3,opt,name=value"`
}

ComponentParameter contains information about component parameter value

func (*ComponentParameter) DeepCopy

func (in *ComponentParameter) DeepCopy() *ComponentParameter

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

func (*ComponentParameter) DeepCopyInto

func (in *ComponentParameter) DeepCopyInto(out *ComponentParameter)

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

func (*ComponentParameter) Descriptor

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

func (*ComponentParameter) Marshal

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

func (*ComponentParameter) MarshalTo

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

func (*ComponentParameter) ProtoMessage

func (*ComponentParameter) ProtoMessage()

func (*ComponentParameter) Reset

func (m *ComponentParameter) Reset()

func (*ComponentParameter) Size

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

func (*ComponentParameter) String

func (this *ComponentParameter) String() string

func (*ComponentParameter) Unmarshal

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

func (*ComponentParameter) XXX_DiscardUnknown added in v0.9.0

func (m *ComponentParameter) XXX_DiscardUnknown()

func (*ComponentParameter) XXX_Marshal added in v0.9.0

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

func (*ComponentParameter) XXX_Merge added in v0.9.0

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

func (*ComponentParameter) XXX_Size added in v0.9.0

func (m *ComponentParameter) XXX_Size() int

func (*ComponentParameter) XXX_Unmarshal added in v0.9.0

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

type ConnectionState added in v0.5.0

type ConnectionState struct {
	Status     ConnectionStatus `json:"status" protobuf:"bytes,1,opt,name=status"`
	Message    string           `json:"message" protobuf:"bytes,2,opt,name=message"`
	ModifiedAt *metav1.Time     `json:"attemptedAt" protobuf:"bytes,3,opt,name=attemptedAt"`
}

ConnectionState contains information about remote resource connection state

func (*ConnectionState) DeepCopy added in v0.5.0

func (in *ConnectionState) DeepCopy() *ConnectionState

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

func (*ConnectionState) DeepCopyInto added in v0.5.0

func (in *ConnectionState) DeepCopyInto(out *ConnectionState)

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

func (*ConnectionState) Descriptor added in v0.5.0

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

func (*ConnectionState) Marshal added in v0.5.0

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

func (*ConnectionState) MarshalTo added in v0.5.0

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

func (*ConnectionState) ProtoMessage added in v0.5.0

func (*ConnectionState) ProtoMessage()

func (*ConnectionState) Reset added in v0.5.0

func (m *ConnectionState) Reset()

func (*ConnectionState) Size added in v0.5.0

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

func (*ConnectionState) String added in v0.5.0

func (this *ConnectionState) String() string

func (*ConnectionState) Unmarshal added in v0.5.0

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

func (*ConnectionState) XXX_DiscardUnknown added in v0.9.0

func (m *ConnectionState) XXX_DiscardUnknown()

func (*ConnectionState) XXX_Marshal added in v0.9.0

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

func (*ConnectionState) XXX_Merge added in v0.9.0

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

func (*ConnectionState) XXX_Size added in v0.9.0

func (m *ConnectionState) XXX_Size() int

func (*ConnectionState) XXX_Unmarshal added in v0.9.0

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

type ConnectionStatus added in v0.5.0

type ConnectionStatus = string

ConnectionStatus represents connection status

type DeploymentInfo

type DeploymentInfo struct {
	Revision                    string               `json:"revision" protobuf:"bytes,2,opt,name=revision"`
	ComponentParameterOverrides []ComponentParameter `json:"componentParameterOverrides,omitempty" protobuf:"bytes,3,opt,name=componentParameterOverrides"`
	DeployedAt                  metav1.Time          `json:"deployedAt" protobuf:"bytes,4,opt,name=deployedAt"`
	ID                          int64                `json:"id" protobuf:"bytes,5,opt,name=id"`
}

DeploymentInfo contains information relevant to an application deployment

func (*DeploymentInfo) DeepCopy

func (in *DeploymentInfo) DeepCopy() *DeploymentInfo

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

func (*DeploymentInfo) DeepCopyInto

func (in *DeploymentInfo) DeepCopyInto(out *DeploymentInfo)

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

func (*DeploymentInfo) Descriptor

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

func (*DeploymentInfo) Marshal

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

func (*DeploymentInfo) MarshalTo

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

func (*DeploymentInfo) ProtoMessage

func (*DeploymentInfo) ProtoMessage()

func (*DeploymentInfo) Reset

func (m *DeploymentInfo) Reset()

func (*DeploymentInfo) Size

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

func (*DeploymentInfo) String

func (this *DeploymentInfo) String() string

func (*DeploymentInfo) Unmarshal

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

func (*DeploymentInfo) XXX_DiscardUnknown added in v0.9.0

func (m *DeploymentInfo) XXX_DiscardUnknown()

func (*DeploymentInfo) XXX_Marshal added in v0.9.0

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

func (*DeploymentInfo) XXX_Merge added in v0.9.0

func (dst *DeploymentInfo) XXX_Merge(src proto.Message)

func (*DeploymentInfo) XXX_Size added in v0.9.0

func (m *DeploymentInfo) XXX_Size() int

func (*DeploymentInfo) XXX_Unmarshal added in v0.9.0

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

type HealthStatus added in v0.4.0

type HealthStatus struct {
	Status        HealthStatusCode `json:"status,omitempty" protobuf:"bytes,1,opt,name=status"`
	StatusDetails string           `json:"statusDetails,omitempty" protobuf:"bytes,2,opt,name=statusDetails"`
}

func (*HealthStatus) DeepCopy added in v0.4.0

func (in *HealthStatus) DeepCopy() *HealthStatus

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

func (*HealthStatus) DeepCopyInto added in v0.4.0

func (in *HealthStatus) DeepCopyInto(out *HealthStatus)

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

func (*HealthStatus) Descriptor added in v0.4.0

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

func (*HealthStatus) Marshal added in v0.4.0

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

func (*HealthStatus) MarshalTo added in v0.4.0

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

func (*HealthStatus) ProtoMessage added in v0.4.0

func (*HealthStatus) ProtoMessage()

func (*HealthStatus) Reset added in v0.4.0

func (m *HealthStatus) Reset()

func (*HealthStatus) Size added in v0.4.0

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

func (*HealthStatus) String added in v0.4.0

func (this *HealthStatus) String() string

func (*HealthStatus) Unmarshal added in v0.4.0

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

func (*HealthStatus) XXX_DiscardUnknown added in v0.9.0

func (m *HealthStatus) XXX_DiscardUnknown()

func (*HealthStatus) XXX_Marshal added in v0.9.0

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

func (*HealthStatus) XXX_Merge added in v0.9.0

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

func (*HealthStatus) XXX_Size added in v0.9.0

func (m *HealthStatus) XXX_Size() int

func (*HealthStatus) XXX_Unmarshal added in v0.9.0

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

type HealthStatusCode added in v0.4.0

type HealthStatusCode = string

type HookDeletePolicy added in v0.6.0

type HookDeletePolicy string
const (
	HookDeletePolicyHookSucceeded HookDeletePolicy = "HookSucceeded"
	HookDeletePolicyHookFailed    HookDeletePolicy = "HookFailed"
)

type HookStatus added in v0.6.0

type HookStatus struct {
	// Name is the resource name
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Kind is the resource kind
	Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
	// APIVersion is the resource API version
	APIVersion string `json:"apiVersion" protobuf:"bytes,3,opt,name=apiVersion"`
	// Type is the type of hook (e.g. PreSync, Sync, PostSync, Skip)
	Type HookType `json:"type" protobuf:"bytes,4,opt,name=type"`
	// Status a simple, high-level summary of where the resource is in its lifecycle
	Status OperationPhase `json:"status" protobuf:"bytes,5,opt,name=status"`
	// A human readable message indicating details about why the resource is in this condition.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

HookStatus contains status about a hook invocation

func (*HookStatus) DeepCopy added in v0.6.0

func (in *HookStatus) DeepCopy() *HookStatus

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

func (*HookStatus) DeepCopyInto added in v0.6.0

func (in *HookStatus) DeepCopyInto(out *HookStatus)

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

func (*HookStatus) Descriptor added in v0.6.0

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

func (*HookStatus) Marshal added in v0.6.0

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

func (*HookStatus) MarshalTo added in v0.6.0

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

func (*HookStatus) ProtoMessage added in v0.6.0

func (*HookStatus) ProtoMessage()

func (*HookStatus) Reset added in v0.6.0

func (m *HookStatus) Reset()

func (*HookStatus) Size added in v0.6.0

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

func (*HookStatus) String added in v0.6.0

func (this *HookStatus) String() string

func (*HookStatus) Unmarshal added in v0.6.0

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

func (*HookStatus) XXX_DiscardUnknown added in v0.9.0

func (m *HookStatus) XXX_DiscardUnknown()

func (*HookStatus) XXX_Marshal added in v0.9.0

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

func (*HookStatus) XXX_Merge added in v0.9.0

func (dst *HookStatus) XXX_Merge(src proto.Message)

func (*HookStatus) XXX_Size added in v0.9.0

func (m *HookStatus) XXX_Size() int

func (*HookStatus) XXX_Unmarshal added in v0.9.0

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

type HookType added in v0.6.0

type HookType string
const (
	HookTypePreSync  HookType = "PreSync"
	HookTypeSync     HookType = "Sync"
	HookTypePostSync HookType = "PostSync"
	HookTypeSkip     HookType = "Skip"
)

type JWTToken added in v0.8.0

type JWTToken struct {
	IssuedAt  int64 `json:"iat,omitempty" protobuf:"int64,1,opt,name=iat"`
	ExpiresAt int64 `json:"exp,omitempty" protobuf:"int64,2,opt,name=exp"`
}

JWTToken holds the issuedAt and expiresAt values of a token

func (*JWTToken) DeepCopy added in v0.8.0

func (in *JWTToken) DeepCopy() *JWTToken

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

func (*JWTToken) DeepCopyInto added in v0.8.0

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

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

func (*JWTToken) Marshal added in v0.8.0

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

func (*JWTToken) MarshalTo added in v0.8.0

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

func (*JWTToken) ProtoMessage added in v0.8.0

func (*JWTToken) ProtoMessage()

func (*JWTToken) Reset added in v0.8.0

func (m *JWTToken) Reset()

func (*JWTToken) Size added in v0.8.0

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

func (*JWTToken) String added in v0.8.0

func (this *JWTToken) String() string

func (*JWTToken) Unmarshal added in v0.8.0

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

func (*JWTToken) XXX_DiscardUnknown added in v0.9.0

func (m *JWTToken) XXX_DiscardUnknown()

func (*JWTToken) XXX_Marshal added in v0.9.0

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

func (*JWTToken) XXX_Merge added in v0.9.0

func (dst *JWTToken) XXX_Merge(src proto.Message)

func (*JWTToken) XXX_Size added in v0.9.0

func (m *JWTToken) XXX_Size() int

func (*JWTToken) XXX_Unmarshal added in v0.9.0

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

type Operation added in v0.4.0

type Operation struct {
	Sync *SyncOperation `json:"sync,omitempty" protobuf:"bytes,1,opt,name=sync"`
}

Operation contains requested operation parameters.

func (*Operation) DeepCopy added in v0.4.0

func (in *Operation) DeepCopy() *Operation

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

func (*Operation) DeepCopyInto added in v0.4.0

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

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

func (*Operation) Marshal added in v0.4.0

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

func (*Operation) MarshalTo added in v0.4.0

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

func (*Operation) ProtoMessage added in v0.4.0

func (*Operation) ProtoMessage()

func (*Operation) Reset added in v0.4.0

func (m *Operation) Reset()

func (*Operation) Size added in v0.4.0

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

func (*Operation) String added in v0.4.0

func (this *Operation) String() string

func (*Operation) Unmarshal added in v0.4.0

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

func (*Operation) XXX_DiscardUnknown added in v0.9.0

func (m *Operation) XXX_DiscardUnknown()

func (*Operation) XXX_Marshal added in v0.9.0

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

func (*Operation) XXX_Merge added in v0.9.0

func (dst *Operation) XXX_Merge(src proto.Message)

func (*Operation) XXX_Size added in v0.9.0

func (m *Operation) XXX_Size() int

func (*Operation) XXX_Unmarshal added in v0.9.0

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

type OperationPhase added in v0.4.0

type OperationPhase string
const (
	OperationRunning     OperationPhase = "Running"
	OperationTerminating OperationPhase = "Terminating"
	OperationFailed      OperationPhase = "Failed"
	OperationError       OperationPhase = "Error"
	OperationSucceeded   OperationPhase = "Succeeded"
)

func (OperationPhase) Completed added in v0.4.0

func (os OperationPhase) Completed() bool

func (OperationPhase) Successful added in v0.4.0

func (os OperationPhase) Successful() bool

type OperationState added in v0.4.0

type OperationState struct {
	// Operation is the original requested operation
	Operation Operation `json:"operation" protobuf:"bytes,1,opt,name=operation"`
	// Phase is the current phase of the operation
	Phase OperationPhase `json:"phase" protobuf:"bytes,2,opt,name=phase"`
	// Message hold any pertinent messages when attempting to perform operation (typically errors).
	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`
	// SyncResult is the result of a Sync operation
	SyncResult *SyncOperationResult `json:"syncResult,omitempty" protobuf:"bytes,4,opt,name=syncResult"`
	// StartedAt contains time of operation start
	StartedAt metav1.Time `json:"startedAt" protobuf:"bytes,6,opt,name=startedAt"`
	// FinishedAt contains time of operation completion
	FinishedAt *metav1.Time `json:"finishedAt" protobuf:"bytes,7,opt,name=finishedAt"`
}

OperationState contains information about state of currently performing operation on application.

func (*OperationState) DeepCopy added in v0.4.0

func (in *OperationState) DeepCopy() *OperationState

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

func (*OperationState) DeepCopyInto added in v0.4.0

func (in *OperationState) DeepCopyInto(out *OperationState)

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

func (*OperationState) Descriptor added in v0.4.0

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

func (*OperationState) Marshal added in v0.4.0

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

func (*OperationState) MarshalTo added in v0.4.0

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

func (*OperationState) ProtoMessage added in v0.4.0

func (*OperationState) ProtoMessage()

func (*OperationState) Reset added in v0.4.0

func (m *OperationState) Reset()

func (*OperationState) Size added in v0.4.0

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

func (*OperationState) String added in v0.4.0

func (this *OperationState) String() string

func (*OperationState) Unmarshal added in v0.4.0

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

func (*OperationState) XXX_DiscardUnknown added in v0.9.0

func (m *OperationState) XXX_DiscardUnknown()

func (*OperationState) XXX_Marshal added in v0.9.0

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

func (*OperationState) XXX_Merge added in v0.9.0

func (dst *OperationState) XXX_Merge(src proto.Message)

func (*OperationState) XXX_Size added in v0.9.0

func (m *OperationState) XXX_Size() int

func (*OperationState) XXX_Unmarshal added in v0.9.0

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

type ParameterOverrides added in v0.9.0

type ParameterOverrides []ComponentParameter

ParameterOverrides masks the value so protobuf can generate +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (*ParameterOverrides) Descriptor added in v0.9.0

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

func (ParameterOverrides) Marshal added in v0.9.0

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

func (ParameterOverrides) MarshalTo added in v0.9.0

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

func (*ParameterOverrides) ProtoMessage added in v0.9.0

func (*ParameterOverrides) ProtoMessage()

func (*ParameterOverrides) Reset added in v0.9.0

func (m *ParameterOverrides) Reset()

func (ParameterOverrides) Size added in v0.9.0

func (m ParameterOverrides) Size() (n int)

func (ParameterOverrides) String added in v0.9.0

func (po ParameterOverrides) String() string

func (*ParameterOverrides) Unmarshal added in v0.9.0

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

func (*ParameterOverrides) XXX_DiscardUnknown added in v0.9.0

func (m *ParameterOverrides) XXX_DiscardUnknown()

func (*ParameterOverrides) XXX_Marshal added in v0.9.0

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

func (*ParameterOverrides) XXX_Merge added in v0.9.0

func (dst *ParameterOverrides) XXX_Merge(src proto.Message)

func (*ParameterOverrides) XXX_Size added in v0.9.0

func (m *ParameterOverrides) XXX_Size() int

func (*ParameterOverrides) XXX_Unmarshal added in v0.9.0

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

type ProjectRole added in v0.8.0

type ProjectRole struct {
	Name        string `json:"name" protobuf:"bytes,1,opt,name=name"`
	Description string `json:"description" protobuf:"bytes,2,opt,name=description"`
	// Policies Stores a list of casbin formated strings that define access policies for the role in the project.
	Policies  []string   `json:"policies" protobuf:"bytes,3,rep,name=policies"`
	JWTTokens []JWTToken `json:"jwtTokens" protobuf:"bytes,4,rep,name=jwtTokens"`
}

ProjectRole represents a role that has access to a project

func (*ProjectRole) DeepCopy added in v0.8.0

func (in *ProjectRole) DeepCopy() *ProjectRole

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

func (*ProjectRole) DeepCopyInto added in v0.8.0

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

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

func (*ProjectRole) Marshal added in v0.8.0

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

func (*ProjectRole) MarshalTo added in v0.8.0

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

func (*ProjectRole) ProtoMessage added in v0.8.0

func (*ProjectRole) ProtoMessage()

func (*ProjectRole) Reset added in v0.8.0

func (m *ProjectRole) Reset()

func (*ProjectRole) Size added in v0.8.0

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

func (*ProjectRole) String added in v0.8.0

func (this *ProjectRole) String() string

func (*ProjectRole) Unmarshal added in v0.8.0

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

func (*ProjectRole) XXX_DiscardUnknown added in v0.9.0

func (m *ProjectRole) XXX_DiscardUnknown()

func (*ProjectRole) XXX_Marshal added in v0.9.0

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

func (*ProjectRole) XXX_Merge added in v0.9.0

func (dst *ProjectRole) XXX_Merge(src proto.Message)

func (*ProjectRole) XXX_Size added in v0.9.0

func (m *ProjectRole) XXX_Size() int

func (*ProjectRole) XXX_Unmarshal added in v0.9.0

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

type Repository

type Repository struct {
	Repo            string          `json:"repo" protobuf:"bytes,1,opt,name=repo"`
	Username        string          `json:"username,omitempty" protobuf:"bytes,2,opt,name=username"`
	Password        string          `json:"password,omitempty" protobuf:"bytes,3,opt,name=password"`
	SSHPrivateKey   string          `json:"sshPrivateKey,omitempty" protobuf:"bytes,4,opt,name=sshPrivateKey"`
	ConnectionState ConnectionState `json:"connectionState,omitempty" protobuf:"bytes,5,opt,name=connectionState"`
}

Repository is a Git repository holding application configurations

func (*Repository) DeepCopy

func (in *Repository) DeepCopy() *Repository

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

func (*Repository) DeepCopyInto

func (in *Repository) DeepCopyInto(out *Repository)

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

func (*Repository) Descriptor

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

func (*Repository) Marshal

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

func (*Repository) MarshalTo

func (m *Repository) MarshalTo(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 added in v0.9.0

func (m *Repository) XXX_DiscardUnknown()

func (*Repository) XXX_Marshal added in v0.9.0

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

func (*Repository) XXX_Merge added in v0.9.0

func (dst *Repository) XXX_Merge(src proto.Message)

func (*Repository) XXX_Size added in v0.9.0

func (m *Repository) XXX_Size() int

func (*Repository) XXX_Unmarshal added in v0.9.0

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

type RepositoryList

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

RepositoryList is a collection of Repositories.

func (*RepositoryList) DeepCopy

func (in *RepositoryList) DeepCopy() *RepositoryList

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

func (*RepositoryList) DeepCopyInto

func (in *RepositoryList) DeepCopyInto(out *RepositoryList)

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

func (*RepositoryList) Descriptor

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

func (*RepositoryList) Marshal

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

func (*RepositoryList) MarshalTo

func (m *RepositoryList) MarshalTo(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 added in v0.9.0

func (m *RepositoryList) XXX_DiscardUnknown()

func (*RepositoryList) XXX_Marshal added in v0.9.0

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

func (*RepositoryList) XXX_Merge added in v0.9.0

func (dst *RepositoryList) XXX_Merge(src proto.Message)

func (*RepositoryList) XXX_Size added in v0.9.0

func (m *RepositoryList) XXX_Size() int

func (*RepositoryList) XXX_Unmarshal added in v0.9.0

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

type ResourceDetails added in v0.4.0

type ResourceDetails struct {
	Name      string             `json:"name" protobuf:"bytes,1,opt,name=name"`
	Kind      string             `json:"kind" protobuf:"bytes,2,opt,name=kind"`
	Namespace string             `json:"namespace" protobuf:"bytes,3,opt,name=namespace"`
	Message   string             `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
	Status    ResourceSyncStatus `json:"status,omitempty" protobuf:"bytes,5,opt,name=status"`
}

func (*ResourceDetails) DeepCopy added in v0.4.0

func (in *ResourceDetails) DeepCopy() *ResourceDetails

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

func (*ResourceDetails) DeepCopyInto added in v0.4.0

func (in *ResourceDetails) DeepCopyInto(out *ResourceDetails)

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

func (*ResourceDetails) Descriptor added in v0.4.0

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

func (*ResourceDetails) Marshal added in v0.4.0

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

func (*ResourceDetails) MarshalTo added in v0.4.0

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

func (*ResourceDetails) ProtoMessage added in v0.4.0

func (*ResourceDetails) ProtoMessage()

func (*ResourceDetails) Reset added in v0.4.0

func (m *ResourceDetails) Reset()

func (*ResourceDetails) Size added in v0.4.0

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

func (*ResourceDetails) String added in v0.4.0

func (this *ResourceDetails) String() string

func (*ResourceDetails) Unmarshal added in v0.4.0

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

func (*ResourceDetails) XXX_DiscardUnknown added in v0.9.0

func (m *ResourceDetails) XXX_DiscardUnknown()

func (*ResourceDetails) XXX_Marshal added in v0.9.0

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

func (*ResourceDetails) XXX_Merge added in v0.9.0

func (dst *ResourceDetails) XXX_Merge(src proto.Message)

func (*ResourceDetails) XXX_Size added in v0.9.0

func (m *ResourceDetails) XXX_Size() int

func (*ResourceDetails) XXX_Unmarshal added in v0.9.0

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

type ResourceNode added in v0.3.0

type ResourceNode struct {
	State    string         `json:"state,omitempty" protobuf:"bytes,1,opt,name=state"`
	Children []ResourceNode `json:"children,omitempty" protobuf:"bytes,2,opt,name=children"`
}

ResourceNode contains information about live resource and its children

func (*ResourceNode) DeepCopy added in v0.3.0

func (in *ResourceNode) DeepCopy() *ResourceNode

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

func (*ResourceNode) DeepCopyInto added in v0.3.0

func (in *ResourceNode) DeepCopyInto(out *ResourceNode)

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

func (*ResourceNode) Descriptor added in v0.3.0

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

func (*ResourceNode) Marshal added in v0.3.0

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

func (*ResourceNode) MarshalTo added in v0.3.0

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

func (*ResourceNode) ProtoMessage added in v0.3.0

func (*ResourceNode) ProtoMessage()

func (*ResourceNode) Reset added in v0.3.0

func (m *ResourceNode) Reset()

func (*ResourceNode) Size added in v0.3.0

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

func (*ResourceNode) String added in v0.3.0

func (this *ResourceNode) String() string

func (*ResourceNode) Unmarshal added in v0.3.0

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

func (*ResourceNode) XXX_DiscardUnknown added in v0.9.0

func (m *ResourceNode) XXX_DiscardUnknown()

func (*ResourceNode) XXX_Marshal added in v0.9.0

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

func (*ResourceNode) XXX_Merge added in v0.9.0

func (dst *ResourceNode) XXX_Merge(src proto.Message)

func (*ResourceNode) XXX_Size added in v0.9.0

func (m *ResourceNode) XXX_Size() int

func (*ResourceNode) XXX_Unmarshal added in v0.9.0

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

type ResourceState

type ResourceState struct {
	TargetState        string           `json:"targetState,omitempty" protobuf:"bytes,1,opt,name=targetState"`
	LiveState          string           `json:"liveState,omitempty" protobuf:"bytes,2,opt,name=liveState"`
	Status             ComparisonStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
	ChildLiveResources []ResourceNode   `json:"childLiveResources,omitempty" protobuf:"bytes,4,opt,name=childLiveResources"`
	Health             HealthStatus     `json:"health,omitempty" protobuf:"bytes,5,opt,name=health"`
}

ResourceState holds the target state of a resource and live state of a resource

func (*ResourceState) DeepCopy

func (in *ResourceState) DeepCopy() *ResourceState

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

func (*ResourceState) DeepCopyInto

func (in *ResourceState) DeepCopyInto(out *ResourceState)

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

func (*ResourceState) Descriptor

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

func (ResourceState) LiveObject added in v0.4.0

func (r ResourceState) LiveObject() (*unstructured.Unstructured, error)

func (*ResourceState) Marshal

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

func (*ResourceState) MarshalTo

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

func (*ResourceState) ProtoMessage

func (*ResourceState) ProtoMessage()

func (*ResourceState) Reset

func (m *ResourceState) Reset()

func (*ResourceState) Size

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

func (*ResourceState) String

func (this *ResourceState) String() string

func (ResourceState) TargetObject added in v0.4.0

func (r ResourceState) TargetObject() (*unstructured.Unstructured, error)

func (*ResourceState) Unmarshal

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

func (*ResourceState) XXX_DiscardUnknown added in v0.9.0

func (m *ResourceState) XXX_DiscardUnknown()

func (*ResourceState) XXX_Marshal added in v0.9.0

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

func (*ResourceState) XXX_Merge added in v0.9.0

func (dst *ResourceState) XXX_Merge(src proto.Message)

func (*ResourceState) XXX_Size added in v0.9.0

func (m *ResourceState) XXX_Size() int

func (*ResourceState) XXX_Unmarshal added in v0.9.0

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

type ResourceSyncStatus added in v0.5.0

type ResourceSyncStatus string
const (
	ResourceDetailsSynced          ResourceSyncStatus = "Synced"
	ResourceDetailsSyncFailed      ResourceSyncStatus = "SyncFailed"
	ResourceDetailsSyncedAndPruned ResourceSyncStatus = "SyncedAndPruned"
	ResourceDetailsPruningRequired ResourceSyncStatus = "PruningRequired"
)

func (ResourceSyncStatus) Successful added in v0.6.0

func (s ResourceSyncStatus) Successful() bool

type SyncOperation added in v0.4.0

type SyncOperation struct {
	// Revision is the git revision in 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 deletes resources that are no longer tracked in git
	Prune bool `json:"prune,omitempty" protobuf:"bytes,2,opt,name=prune"`
	// DryRun will perform a `kubectl apply --dry-run` without actually performing the sync
	DryRun bool `json:"dryRun,omitempty" protobuf:"bytes,3,opt,name=dryRun"`
	// SyncStrategy describes how to perform the sync
	SyncStrategy *SyncStrategy `json:"syncStrategy,omitempty" protobuf:"bytes,4,opt,name=syncStrategy"`
	// ParameterOverrides applies any parameter overrides as part of the sync
	// If nil, uses the parameter override set in application.
	// If empty, sets no parameter overrides
	ParameterOverrides ParameterOverrides `json:"parameterOverrides" protobuf:"bytes,5,opt,name=parameterOverrides"`
	// Resources describes which resources to sync
	Resources []SyncOperationResource `json:"resources,omitempty" protobuf:"bytes,6,opt,name=resources"`
}

SyncOperation contains sync operation details.

func (*SyncOperation) DeepCopy added in v0.4.0

func (in *SyncOperation) DeepCopy() *SyncOperation

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

func (*SyncOperation) DeepCopyInto added in v0.4.0

func (in *SyncOperation) DeepCopyInto(out *SyncOperation)

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

func (*SyncOperation) Descriptor added in v0.4.0

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

func (*SyncOperation) Marshal added in v0.4.0

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

func (*SyncOperation) MarshalTo added in v0.4.0

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

func (*SyncOperation) ProtoMessage added in v0.4.0

func (*SyncOperation) ProtoMessage()

func (*SyncOperation) Reset added in v0.4.0

func (m *SyncOperation) Reset()

func (*SyncOperation) Size added in v0.4.0

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

func (*SyncOperation) String added in v0.4.0

func (this *SyncOperation) String() string

func (*SyncOperation) Unmarshal added in v0.4.0

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

func (*SyncOperation) XXX_DiscardUnknown added in v0.9.0

func (m *SyncOperation) XXX_DiscardUnknown()

func (*SyncOperation) XXX_Marshal added in v0.9.0

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

func (*SyncOperation) XXX_Merge added in v0.9.0

func (dst *SyncOperation) XXX_Merge(src proto.Message)

func (*SyncOperation) XXX_Size added in v0.9.0

func (m *SyncOperation) XXX_Size() int

func (*SyncOperation) XXX_Unmarshal added in v0.9.0

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

type SyncOperationResource added in v0.10.0

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

SyncOperationResource contains resources to sync.

func (*SyncOperationResource) DeepCopy added in v0.10.0

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

func (*SyncOperationResource) DeepCopyInto added in v0.10.0

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

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

func (SyncOperationResource) HasIdentity added in v0.10.0

HasIdentity determines whether a sync operation is identified by a manifest.

func (*SyncOperationResource) Marshal added in v0.10.0

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

func (*SyncOperationResource) MarshalTo added in v0.10.0

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

func (*SyncOperationResource) ProtoMessage added in v0.10.0

func (*SyncOperationResource) ProtoMessage()

func (*SyncOperationResource) Reset added in v0.10.0

func (m *SyncOperationResource) Reset()

func (*SyncOperationResource) Size added in v0.10.0

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

func (*SyncOperationResource) String added in v0.10.0

func (this *SyncOperationResource) String() string

func (*SyncOperationResource) Unmarshal added in v0.10.0

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

func (*SyncOperationResource) XXX_DiscardUnknown added in v0.10.0

func (m *SyncOperationResource) XXX_DiscardUnknown()

func (*SyncOperationResource) XXX_Marshal added in v0.10.0

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

func (*SyncOperationResource) XXX_Merge added in v0.10.0

func (dst *SyncOperationResource) XXX_Merge(src proto.Message)

func (*SyncOperationResource) XXX_Size added in v0.10.0

func (m *SyncOperationResource) XXX_Size() int

func (*SyncOperationResource) XXX_Unmarshal added in v0.10.0

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

type SyncOperationResult added in v0.4.0

type SyncOperationResult struct {
	// Resources holds the sync result of each individual resource
	Resources []*ResourceDetails `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"`
	// Revision holds the git commit SHA of the sync
	Revision string `json:"revision" protobuf:"bytes,2,opt,name=revision"`
	// Hooks contains list of hook resource statuses associated with this operation
	Hooks []*HookStatus `json:"hooks,omitempty" protobuf:"bytes,3,opt,name=hooks"`
}

SyncOperationResult represent result of sync operation

func (*SyncOperationResult) DeepCopy added in v0.4.0

func (in *SyncOperationResult) DeepCopy() *SyncOperationResult

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

func (*SyncOperationResult) DeepCopyInto added in v0.4.0

func (in *SyncOperationResult) DeepCopyInto(out *SyncOperationResult)

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

func (*SyncOperationResult) Descriptor added in v0.4.0

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

func (*SyncOperationResult) Marshal added in v0.4.0

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

func (*SyncOperationResult) MarshalTo added in v0.4.0

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

func (*SyncOperationResult) ProtoMessage added in v0.4.0

func (*SyncOperationResult) ProtoMessage()

func (*SyncOperationResult) Reset added in v0.4.0

func (m *SyncOperationResult) Reset()

func (*SyncOperationResult) Size added in v0.4.0

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

func (*SyncOperationResult) String added in v0.4.0

func (this *SyncOperationResult) String() string

func (*SyncOperationResult) Unmarshal added in v0.4.0

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

func (*SyncOperationResult) XXX_DiscardUnknown added in v0.9.0

func (m *SyncOperationResult) XXX_DiscardUnknown()

func (*SyncOperationResult) XXX_Marshal added in v0.9.0

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

func (*SyncOperationResult) XXX_Merge added in v0.9.0

func (dst *SyncOperationResult) XXX_Merge(src proto.Message)

func (*SyncOperationResult) XXX_Size added in v0.9.0

func (m *SyncOperationResult) XXX_Size() int

func (*SyncOperationResult) XXX_Unmarshal added in v0.9.0

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

type SyncPolicy added in v0.9.0

type SyncPolicy struct {
	// Automated will keep an application synced to the target revision
	Automated *SyncPolicyAutomated `json:"automated,omitempty" protobuf:"bytes,1,opt,name=automated"`
}

SyncPolicy controls when a sync will be performed in response to updates in git

func (*SyncPolicy) DeepCopy added in v0.9.0

func (in *SyncPolicy) DeepCopy() *SyncPolicy

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

func (*SyncPolicy) DeepCopyInto added in v0.9.0

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

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

func (*SyncPolicy) Marshal added in v0.9.0

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

func (*SyncPolicy) MarshalTo added in v0.9.0

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

func (*SyncPolicy) ProtoMessage added in v0.9.0

func (*SyncPolicy) ProtoMessage()

func (*SyncPolicy) Reset added in v0.9.0

func (m *SyncPolicy) Reset()

func (*SyncPolicy) Size added in v0.9.0

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

func (*SyncPolicy) String added in v0.9.0

func (this *SyncPolicy) String() string

func (*SyncPolicy) Unmarshal added in v0.9.0

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

func (*SyncPolicy) XXX_DiscardUnknown added in v0.9.0

func (m *SyncPolicy) XXX_DiscardUnknown()

func (*SyncPolicy) XXX_Marshal added in v0.9.0

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

func (*SyncPolicy) XXX_Merge added in v0.9.0

func (dst *SyncPolicy) XXX_Merge(src proto.Message)

func (*SyncPolicy) XXX_Size added in v0.9.0

func (m *SyncPolicy) XXX_Size() int

func (*SyncPolicy) XXX_Unmarshal added in v0.9.0

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

type SyncPolicyAutomated added in v0.9.0

type SyncPolicyAutomated struct {
	// Prune will prune resources automatically as part of automated sync (default: false)
	Prune bool `json:"prune,omitempty" protobuf:"bytes,1,opt,name=prune"`
}

SyncPolicyAutomated controls the behavior of an automated sync

func (*SyncPolicyAutomated) DeepCopy added in v0.9.0

func (in *SyncPolicyAutomated) DeepCopy() *SyncPolicyAutomated

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

func (*SyncPolicyAutomated) DeepCopyInto added in v0.9.0

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

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

func (*SyncPolicyAutomated) Marshal added in v0.9.0

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

func (*SyncPolicyAutomated) MarshalTo added in v0.9.0

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

func (*SyncPolicyAutomated) ProtoMessage added in v0.9.0

func (*SyncPolicyAutomated) ProtoMessage()

func (*SyncPolicyAutomated) Reset added in v0.9.0

func (m *SyncPolicyAutomated) Reset()

func (*SyncPolicyAutomated) Size added in v0.9.0

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

func (*SyncPolicyAutomated) String added in v0.9.0

func (this *SyncPolicyAutomated) String() string

func (*SyncPolicyAutomated) Unmarshal added in v0.9.0

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

func (*SyncPolicyAutomated) XXX_DiscardUnknown added in v0.9.0

func (m *SyncPolicyAutomated) XXX_DiscardUnknown()

func (*SyncPolicyAutomated) XXX_Marshal added in v0.9.0

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

func (*SyncPolicyAutomated) XXX_Merge added in v0.9.0

func (dst *SyncPolicyAutomated) XXX_Merge(src proto.Message)

func (*SyncPolicyAutomated) XXX_Size added in v0.9.0

func (m *SyncPolicyAutomated) XXX_Size() int

func (*SyncPolicyAutomated) XXX_Unmarshal added in v0.9.0

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

type SyncStrategy added in v0.6.0

type SyncStrategy struct {
	// Apply wil 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 added in v0.6.0

func (in *SyncStrategy) DeepCopy() *SyncStrategy

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

func (*SyncStrategy) DeepCopyInto added in v0.6.0

func (in *SyncStrategy) DeepCopyInto(out *SyncStrategy)

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

func (*SyncStrategy) Descriptor added in v0.6.0

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

func (*SyncStrategy) Marshal added in v0.6.0

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

func (*SyncStrategy) MarshalTo added in v0.6.0

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

func (*SyncStrategy) ProtoMessage added in v0.6.0

func (*SyncStrategy) ProtoMessage()

func (*SyncStrategy) Reset added in v0.6.0

func (m *SyncStrategy) Reset()

func (*SyncStrategy) Size added in v0.6.0

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

func (*SyncStrategy) String added in v0.6.0

func (this *SyncStrategy) String() string

func (*SyncStrategy) Unmarshal added in v0.6.0

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

func (*SyncStrategy) XXX_DiscardUnknown added in v0.9.0

func (m *SyncStrategy) XXX_DiscardUnknown()

func (*SyncStrategy) XXX_Marshal added in v0.9.0

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

func (*SyncStrategy) XXX_Merge added in v0.9.0

func (dst *SyncStrategy) XXX_Merge(src proto.Message)

func (*SyncStrategy) XXX_Size added in v0.9.0

func (m *SyncStrategy) XXX_Size() int

func (*SyncStrategy) XXX_Unmarshal added in v0.9.0

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

type SyncStrategyApply added in v0.6.0

type SyncStrategyApply struct {
	// Force indicates whether or not to supply the --force flag to `kubectl apply`.
	// The --force flag deletes and re-create the resource, when PATCH encounters conflict and has
	// retried for 5 times.
	Force bool `json:"force,omitempty" protobuf:"bytes,1,opt,name=force"`
}

SyncStrategyApply uses `kubectl apply` to perform the apply

func (*SyncStrategyApply) DeepCopy added in v0.6.0

func (in *SyncStrategyApply) DeepCopy() *SyncStrategyApply

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

func (*SyncStrategyApply) DeepCopyInto added in v0.6.0

func (in *SyncStrategyApply) DeepCopyInto(out *SyncStrategyApply)

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

func (*SyncStrategyApply) Descriptor added in v0.6.0

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

func (*SyncStrategyApply) Marshal added in v0.6.0

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

func (*SyncStrategyApply) MarshalTo added in v0.6.0

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

func (*SyncStrategyApply) ProtoMessage added in v0.6.0

func (*SyncStrategyApply) ProtoMessage()

func (*SyncStrategyApply) Reset added in v0.6.0

func (m *SyncStrategyApply) Reset()

func (*SyncStrategyApply) Size added in v0.6.0

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

func (*SyncStrategyApply) String added in v0.6.0

func (this *SyncStrategyApply) String() string

func (*SyncStrategyApply) Unmarshal added in v0.6.0

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

func (*SyncStrategyApply) XXX_DiscardUnknown added in v0.9.0

func (m *SyncStrategyApply) XXX_DiscardUnknown()

func (*SyncStrategyApply) XXX_Marshal added in v0.9.0

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

func (*SyncStrategyApply) XXX_Merge added in v0.9.0

func (dst *SyncStrategyApply) XXX_Merge(src proto.Message)

func (*SyncStrategyApply) XXX_Size added in v0.9.0

func (m *SyncStrategyApply) XXX_Size() int

func (*SyncStrategyApply) XXX_Unmarshal added in v0.9.0

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

type SyncStrategyHook added in v0.6.0

type SyncStrategyHook struct {
	// Embed SyncStrategyApply type to inherit any `apply` options
	SyncStrategyApply `protobuf:"bytes,1,opt,name=syncStrategyApply"`
}

SyncStrategyHook will perform a sync using hooks annotations. If no hook annotation is specified falls back to `kubectl apply`.

func (*SyncStrategyHook) DeepCopy added in v0.6.0

func (in *SyncStrategyHook) DeepCopy() *SyncStrategyHook

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

func (*SyncStrategyHook) DeepCopyInto added in v0.6.0

func (in *SyncStrategyHook) DeepCopyInto(out *SyncStrategyHook)

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

func (*SyncStrategyHook) Descriptor added in v0.6.0

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

func (*SyncStrategyHook) Marshal added in v0.6.0

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

func (*SyncStrategyHook) MarshalTo added in v0.6.0

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

func (*SyncStrategyHook) ProtoMessage added in v0.6.0

func (*SyncStrategyHook) ProtoMessage()

func (*SyncStrategyHook) Reset added in v0.6.0

func (m *SyncStrategyHook) Reset()

func (*SyncStrategyHook) Size added in v0.6.0

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

func (*SyncStrategyHook) String added in v0.6.0

func (this *SyncStrategyHook) String() string

func (*SyncStrategyHook) Unmarshal added in v0.6.0

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

func (*SyncStrategyHook) XXX_DiscardUnknown added in v0.9.0

func (m *SyncStrategyHook) XXX_DiscardUnknown()

func (*SyncStrategyHook) XXX_Marshal added in v0.9.0

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

func (*SyncStrategyHook) XXX_Merge added in v0.9.0

func (dst *SyncStrategyHook) XXX_Merge(src proto.Message)

func (*SyncStrategyHook) XXX_Size added in v0.9.0

func (m *SyncStrategyHook) XXX_Size() int

func (*SyncStrategyHook) XXX_Unmarshal added in v0.9.0

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

type TLSClientConfig

type TLSClientConfig struct {
	// Server should be accessed without verifying the TLS certificate. For testing only.
	Insecure bool `json:"insecure" protobuf:"bytes,1,opt,name=insecure"`
	// ServerName is passed to the server for SNI and is used in the client to check server
	// ceritificates against. If ServerName is empty, the hostname used to contact the
	// server is used.
	ServerName string `json:"serverName,omitempty" protobuf:"bytes,2,opt,name=serverName"`

	// CertData holds PEM-encoded bytes (typically read from a client certificate file).
	// CertData takes precedence over CertFile
	CertData []byte `json:"certData,omitempty" protobuf:"bytes,3,opt,name=certData"`
	// KeyData holds PEM-encoded bytes (typically read from a client certificate key file).
	// KeyData takes precedence over KeyFile
	KeyData []byte `json:"keyData,omitempty" protobuf:"bytes,4,opt,name=keyData"`
	// CAData holds PEM-encoded bytes (typically read from a root certificates bundle).
	// CAData takes precedence over CAFile
	CAData []byte `json:"caData,omitempty" protobuf:"bytes,5,opt,name=caData"`
}

TLSClientConfig contains settings to enable transport layer security

func (*TLSClientConfig) DeepCopy

func (in *TLSClientConfig) DeepCopy() *TLSClientConfig

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

func (*TLSClientConfig) DeepCopyInto

func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig)

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

func (*TLSClientConfig) Descriptor

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

func (*TLSClientConfig) Marshal

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

func (*TLSClientConfig) MarshalTo

func (m *TLSClientConfig) MarshalTo(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 added in v0.9.0

func (m *TLSClientConfig) XXX_DiscardUnknown()

func (*TLSClientConfig) XXX_Marshal added in v0.9.0

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

func (*TLSClientConfig) XXX_Merge added in v0.9.0

func (dst *TLSClientConfig) XXX_Merge(src proto.Message)

func (*TLSClientConfig) XXX_Size added in v0.9.0

func (m *TLSClientConfig) XXX_Size() int

func (*TLSClientConfig) XXX_Unmarshal added in v0.9.0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL