v1alpha1

package
v0.4.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: Apache-2.0 Imports: 15 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

Package v1alpha1 is a generated protocol buffer package.

It is generated from these files:
	github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1/generated.proto

It has these top-level messages:
	Application
	ApplicationDestination
	ApplicationList
	ApplicationSource
	ApplicationSpec
	ApplicationStatus
	ApplicationWatchEvent
	Cluster
	ClusterConfig
	ClusterList
	ComparisonResult
	ComponentParameter
	DeploymentInfo
	HealthStatus
	Operation
	OperationState
	Repository
	RepositoryList
	ResourceDetails
	ResourceNode
	ResourceState
	RollbackOperation
	SyncOperation
	SyncOperationResult
	TLSClientConfig

Index

Constants

View Source
const (
	OperationStatusInProgress = "InProgress"
	OperationStatusFailed     = "Failed"
	OperationStatusSucceeded  = "Succeeded"
)
View Source
const (
	HealthStatusUnknown     = ""
	HealthStatusProgressing = "Progressing"
	HealthStatusHealthy     = "Healthy"
	HealthStatusDegraded    = "Degraded"
)

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}
)
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 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) 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) NeedRefreshAppStatus

func (app *Application) NeedRefreshAppStatus(statusRefreshTimeout time.Duration) bool

NeedRefreshAppStatus answers if application status needs to be refreshed. Returns true if application never been compared, has changed or comparison result has expired.

func (*Application) ProtoMessage

func (*Application) ProtoMessage()

func (*Application) Reset

func (m *Application) Reset()

func (*Application) Size

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

func (*Application) String

func (this *Application) String() string

func (*Application) Unmarshal

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

type 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

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

type ApplicationSource

type ApplicationSource struct {
	// RepoURL is the repository URL containing the ksonnet application.
	RepoURL string `json:"repoURL" protobuf:"bytes,1,opt,name=repoURL"`
	// Path is a directory path within repository which contains ksonnet application.
	Path string `json:"path" protobuf:"bytes,2,opt,name=path"`
	// Environment is a ksonnet application environment name.
	Environment string `json:"environment" 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"`
	// Environment parameter override values
	ComponentParameterOverrides []ComponentParameter `json:"componentParameterOverrides,omitempty" protobuf:"bytes,5,opt,name=componentParameterOverrides"`
}

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

func (*ApplicationSource) DeepCopy

func (in *ApplicationSource) DeepCopy() *ApplicationSource

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

func (*ApplicationSource) DeepCopyInto

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

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

func (*ApplicationSource) Descriptor

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

func (ApplicationSource) Equals

func (source ApplicationSource) Equals(other ApplicationSource) bool

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

func (*ApplicationSource) Marshal

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

func (*ApplicationSource) MarshalTo

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

func (*ApplicationSource) ProtoMessage

func (*ApplicationSource) ProtoMessage()

func (*ApplicationSource) Reset

func (m *ApplicationSource) Reset()

func (*ApplicationSource) Size

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

func (*ApplicationSource) String

func (this *ApplicationSource) String() string

func (*ApplicationSource) Unmarshal

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

type ApplicationSpec

type ApplicationSpec struct {
	// Source is a reference to the location ksonnet application definition
	Source ApplicationSource `json:"source" protobuf:"bytes,1,opt,name=source"`
	// Destination overrides the kubernetes server and namespace defined in the environment ksonnet app.yaml
	Destination ApplicationDestination `json:"destination" protobuf:"bytes,2,name=destination"`
	// SyncPolicy dictates whether we auto-sync based on the delta between the tracked branch and live state
	SyncPolicy string `json:"syncPolicy,omitempty" protobuf:"bytes,3,opt,name=syncPolicy"`
}

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

func (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

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

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

func (*ApplicationSpec) Descriptor

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

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

type ApplicationStatus

type ApplicationStatus struct {
	ComparisonResult  ComparisonResult     `json:"comparisonResult" protobuf:"bytes,1,opt,name=comparisonResult"`
	RecentDeployments []DeploymentInfo     `json:"recentDeployments" protobuf:"bytes,2,opt,name=recentDeployment"`
	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"`
}

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

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

func (*ApplicationStatus) MarshalTo

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

func (*ApplicationStatus) ProtoMessage

func (*ApplicationStatus) ProtoMessage()

func (*ApplicationStatus) Reset

func (m *ApplicationStatus) Reset()

func (*ApplicationStatus) Size

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

func (*ApplicationStatus) String

func (this *ApplicationStatus) String() string

func (*ApplicationStatus) Unmarshal

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

type ApplicationWatchEvent

type ApplicationWatchEvent struct {
	Type watch.EventType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=k8s.io/apimachinery/pkg/watch.EventType"`

	// Application is:
	//  * If Type is Added or Modified: the new state of the object.
	//  * If Type is Deleted: the state of the object immediately before deletion.
	//  * If Type is Error: *api.Status is recommended; other types may make sense
	//    depending on context.
	Application Application `json:"application" protobuf:"bytes,2,opt,name=application"`
}

ApplicationWatchEvent contains information about application change.

func (*ApplicationWatchEvent) DeepCopy

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

func (*ApplicationWatchEvent) DeepCopyInto

func (in *ApplicationWatchEvent) DeepCopyInto(out *ApplicationWatchEvent)

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

func (*ApplicationWatchEvent) Descriptor

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

func (*ApplicationWatchEvent) Marshal

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

func (*ApplicationWatchEvent) MarshalTo

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

func (*ApplicationWatchEvent) ProtoMessage

func (*ApplicationWatchEvent) ProtoMessage()

func (*ApplicationWatchEvent) Reset

func (m *ApplicationWatchEvent) Reset()

func (*ApplicationWatchEvent) Size

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

func (*ApplicationWatchEvent) String

func (this *ApplicationWatchEvent) String() string

func (*ApplicationWatchEvent) Unmarshal

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

type Cluster

type Cluster struct {
	// Server is the API server URL of the Kubernetes cluster
	Server string `json:"server" protobuf:"bytes,1,opt,name=server"`

	// Name of the cluster. If omitted, will use the server address
	Name string `json:"name" protobuf:"bytes,2,opt,name=name"`

	// Config holds cluster information for connecting to a cluster
	Config ClusterConfig `json:"config" protobuf:"bytes,3,opt,name=config"`
}

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

type ClusterConfig

type ClusterConfig struct {
	// Server requires Basic authentication
	Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"`
	Password string `json:"password,omitempty" protobuf:"bytes,2,opt,name=password"`

	// Server requires Bearer authentication. This client will not attempt to use
	// refresh tokens for an OAuth2 flow.
	// TODO: demonstrate an OAuth2 compatible client.
	BearerToken string `json:"bearerToken,omitempty" protobuf:"bytes,3,opt,name=bearerToken"`

	// TLSClientConfig contains settings to enable transport layer security
	TLSClientConfig `json:"tlsClientConfig" protobuf:"bytes,4,opt,name=tlsClientConfig"`
}

ClusterConfig is the configuration attributes. This structure is subset of the go-client rest.Config with annotations added for marshalling.

func (*ClusterConfig) DeepCopy

func (in *ClusterConfig) DeepCopy() *ClusterConfig

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

func (*ClusterConfig) DeepCopyInto

func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig)

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

func (*ClusterConfig) Descriptor

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

func (*ClusterConfig) Marshal

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

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

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

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"`
	Server     string            `json:"server" protobuf:"bytes,3,opt,name=server"`
	Namespace  string            `json:"namespace" protobuf:"bytes,4,opt,name=namespace"`
	Status     ComparisonStatus  `json:"status" protobuf:"bytes,5,opt,name=status,casttype=ComparisonStatus"`
	Resources  []ResourceState   `json:"resources" protobuf:"bytes,6,opt,name=resources"`
	Error      string            `json:"error" protobuf:"bytes,7,opt,name=error"`
}

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

type ComparisonStatus

type ComparisonStatus string

ComparisonStatus is a type which represents possible comparison results

const (
	ComparisonStatusUnknown   ComparisonStatus = ""
	ComparisonStatusError     ComparisonStatus = "Error"
	ComparisonStatusSynced    ComparisonStatus = "Synced"
	ComparisonStatusOutOfSync ComparisonStatus = "OutOfSync"
)

Possible comparison results

type ComponentParameter

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

ComponentParameter contains information about component parameter value

func (*ComponentParameter) DeepCopy

func (in *ComponentParameter) DeepCopy() *ComponentParameter

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

func (*ComponentParameter) DeepCopyInto

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

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

func (*ComponentParameter) Descriptor

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

func (*ComponentParameter) Marshal

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

func (*ComponentParameter) MarshalTo

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

func (*ComponentParameter) ProtoMessage

func (*ComponentParameter) ProtoMessage()

func (*ComponentParameter) Reset

func (m *ComponentParameter) Reset()

func (*ComponentParameter) Size

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

func (*ComponentParameter) String

func (this *ComponentParameter) String() string

func (*ComponentParameter) Unmarshal

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

type DeploymentInfo

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

DeploymentInfo contains information relevant to an application deployment

func (*DeploymentInfo) DeepCopy

func (in *DeploymentInfo) DeepCopy() *DeploymentInfo

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

func (*DeploymentInfo) DeepCopyInto

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

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

func (*DeploymentInfo) Descriptor

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

func (*DeploymentInfo) Marshal

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

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

type HealthStatus added in v0.4.0

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

func (*HealthStatus) DeepCopy added in v0.4.0

func (in *HealthStatus) DeepCopy() *HealthStatus

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

func (*HealthStatus) DeepCopyInto added in v0.4.0

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

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

func (*HealthStatus) Descriptor added in v0.4.0

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

func (*HealthStatus) Marshal added in v0.4.0

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

func (*HealthStatus) MarshalTo added in v0.4.0

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

func (*HealthStatus) ProtoMessage added in v0.4.0

func (*HealthStatus) ProtoMessage()

func (*HealthStatus) Reset added in v0.4.0

func (m *HealthStatus) Reset()

func (*HealthStatus) Size added in v0.4.0

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

func (*HealthStatus) String added in v0.4.0

func (this *HealthStatus) String() string

func (*HealthStatus) Unmarshal added in v0.4.0

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

type HealthStatusCode added in v0.4.0

type HealthStatusCode = string

type Operation added in v0.4.0

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

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

type OperationState added in v0.4.0

type OperationState struct {
	Status         OperationStatus      `json:"status" protobuf:"bytes,1,opt,name=status"`
	ErrorDetails   string               `json:"errorDetails" protobuf:"bytes,2,opt,name=errorDetails"`
	SyncResult     *SyncOperationResult `json:"syncResult" protobuf:"bytes,3,opt,name=syncResult"`
	RollbackResult *SyncOperationResult `json:"rollbackResult" protobuf:"bytes,4,opt,name=rollbackResult"`
}

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

func (*OperationState) DeepCopy added in v0.4.0

func (in *OperationState) DeepCopy() *OperationState

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

func (*OperationState) DeepCopyInto added in v0.4.0

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

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

func (*OperationState) Descriptor added in v0.4.0

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

func (*OperationState) Marshal added in v0.4.0

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

func (*OperationState) MarshalTo added in v0.4.0

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

func (*OperationState) ProtoMessage added in v0.4.0

func (*OperationState) ProtoMessage()

func (*OperationState) Reset added in v0.4.0

func (m *OperationState) Reset()

func (*OperationState) Size added in v0.4.0

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

func (*OperationState) String added in v0.4.0

func (this *OperationState) String() string

func (*OperationState) Unmarshal added in v0.4.0

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

type OperationStatus

type OperationStatus = string

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

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

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

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" protobuf:"bytes,4,opt,name=message"`
}

func (*ResourceDetails) DeepCopy added in v0.4.0

func (in *ResourceDetails) DeepCopy() *ResourceDetails

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

func (*ResourceDetails) DeepCopyInto added in v0.4.0

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

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

func (*ResourceDetails) Descriptor added in v0.4.0

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

func (*ResourceDetails) Marshal added in v0.4.0

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

func (*ResourceDetails) MarshalTo added in v0.4.0

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

func (*ResourceDetails) ProtoMessage added in v0.4.0

func (*ResourceDetails) ProtoMessage()

func (*ResourceDetails) Reset added in v0.4.0

func (m *ResourceDetails) Reset()

func (*ResourceDetails) Size added in v0.4.0

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

func (*ResourceDetails) String added in v0.4.0

func (this *ResourceDetails) String() string

func (*ResourceDetails) Unmarshal added in v0.4.0

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

type ResourceNode added in v0.3.0

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

ResourceNode contains information about live resource and its children

func (*ResourceNode) DeepCopy added in v0.3.0

func (in *ResourceNode) DeepCopy() *ResourceNode

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

func (*ResourceNode) DeepCopyInto added in v0.3.0

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

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

func (*ResourceNode) Descriptor added in v0.3.0

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

func (*ResourceNode) Marshal added in v0.3.0

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

func (*ResourceNode) MarshalTo added in v0.3.0

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

func (*ResourceNode) ProtoMessage added in v0.3.0

func (*ResourceNode) ProtoMessage()

func (*ResourceNode) Reset added in v0.3.0

func (m *ResourceNode) Reset()

func (*ResourceNode) Size added in v0.3.0

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

func (*ResourceNode) String added in v0.3.0

func (this *ResourceNode) String() string

func (*ResourceNode) Unmarshal added in v0.3.0

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

type ResourceState

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

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

func (*ResourceState) DeepCopy

func (in *ResourceState) DeepCopy() *ResourceState

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

func (*ResourceState) DeepCopyInto

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

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

func (*ResourceState) Descriptor

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

func (*ResourceState) 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) Unmarshal

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

type RollbackOperation added in v0.4.0

type RollbackOperation struct {
	ID     int64 `json:"id" protobuf:"bytes,1,opt,name=id"`
	Prune  bool  `json:"prune" protobuf:"bytes,2,opt,name=prune"`
	DryRun bool  `json:"dryRun" protobuf:"bytes,3,opt,name=dryRun"`
}

func (*RollbackOperation) DeepCopy added in v0.4.0

func (in *RollbackOperation) DeepCopy() *RollbackOperation

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

func (*RollbackOperation) DeepCopyInto added in v0.4.0

func (in *RollbackOperation) DeepCopyInto(out *RollbackOperation)

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

func (*RollbackOperation) Descriptor added in v0.4.0

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

func (*RollbackOperation) Marshal added in v0.4.0

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

func (*RollbackOperation) MarshalTo added in v0.4.0

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

func (*RollbackOperation) ProtoMessage added in v0.4.0

func (*RollbackOperation) ProtoMessage()

func (*RollbackOperation) Reset added in v0.4.0

func (m *RollbackOperation) Reset()

func (*RollbackOperation) Size added in v0.4.0

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

func (*RollbackOperation) String added in v0.4.0

func (this *RollbackOperation) String() string

func (*RollbackOperation) Unmarshal added in v0.4.0

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

type SyncOperation added in v0.4.0

type SyncOperation struct {
	Revision string `json:"revision" protobuf:"bytes,1,opt,name=revision"`
	Prune    bool   `json:"prune" protobuf:"bytes,2,opt,name=prune"`
	DryRun   bool   `json:"dryRun" protobuf:"bytes,3,opt,name=dryRun"`
}

SyncOperation contains sync operation details.

func (*SyncOperation) DeepCopy added in v0.4.0

func (in *SyncOperation) DeepCopy() *SyncOperation

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

func (*SyncOperation) DeepCopyInto added in v0.4.0

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

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

func (*SyncOperation) Descriptor added in v0.4.0

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

func (*SyncOperation) Marshal added in v0.4.0

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

func (*SyncOperation) MarshalTo added in v0.4.0

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

func (*SyncOperation) ProtoMessage added in v0.4.0

func (*SyncOperation) ProtoMessage()

func (*SyncOperation) Reset added in v0.4.0

func (m *SyncOperation) Reset()

func (*SyncOperation) Size added in v0.4.0

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

func (*SyncOperation) String added in v0.4.0

func (this *SyncOperation) String() string

func (*SyncOperation) Unmarshal added in v0.4.0

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

type SyncOperationResult added in v0.4.0

type SyncOperationResult struct {
	Message   string             `json:"message" protobuf:"bytes,1,opt,name=message"`
	Resources []*ResourceDetails `json:"resources" protobuf:"bytes,2,opt,name=resources"`
}

SyncOperationResult represent result of sync operation

func (*SyncOperationResult) DeepCopy added in v0.4.0

func (in *SyncOperationResult) DeepCopy() *SyncOperationResult

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

func (*SyncOperationResult) DeepCopyInto added in v0.4.0

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

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

func (*SyncOperationResult) Descriptor added in v0.4.0

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

func (*SyncOperationResult) Marshal added in v0.4.0

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

func (*SyncOperationResult) MarshalTo added in v0.4.0

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

func (*SyncOperationResult) ProtoMessage added in v0.4.0

func (*SyncOperationResult) ProtoMessage()

func (*SyncOperationResult) Reset added in v0.4.0

func (m *SyncOperationResult) Reset()

func (*SyncOperationResult) Size added in v0.4.0

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

func (*SyncOperationResult) String added in v0.4.0

func (this *SyncOperationResult) String() string

func (*SyncOperationResult) Unmarshal added in v0.4.0

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

type 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

Jump to

Keyboard shortcuts

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