v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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
	Repository
	RepositoryList
	ResourceNode
	ResourceState
	TLSClientConfig

Index

Constants

This section is empty.

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

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
	// This field is optional. If omitted, uses the server and namespace defined in the environment
	Destination *ApplicationDestination `json:"destination,omitempty" protobuf:"bytes,2,opt,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"`
}

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

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 Repository

type Repository struct {
	Repo          string `json:"repo" protobuf:"bytes,1,opt,name=repo"`
	Username      string `json:"username" protobuf:"bytes,2,opt,name=username"`
	Password      string `json:"password" protobuf:"bytes,3,opt,name=password"`
	SSHPrivateKey string `json:"sshPrivateKey" 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 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"`
}

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