clusters

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package clusters is a generated twirp stub package. This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1.

It is generated from these files:

pkg/rpc/clusters/clusters.proto

Index

Constants

View Source
const ClustersPathPrefix = "/twirp/clusters.Clusters/"

ClustersPathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

Variables

View Source
var (
	Source_Type_name = map[int32]string{
		0: "Git",
		1: "Bucket",
		2: "Helm",
		3: "Chart",
	}
	Source_Type_value = map[string]int32{
		"Git":    0,
		"Bucket": 1,
		"Helm":   2,
		"Chart":  3,
	}
)

Enum value maps for Source_Type.

View Source
var File_pkg_rpc_clusters_clusters_proto protoreflect.FileDescriptor

Functions

func WriteError

func WriteError(resp http.ResponseWriter, err error)

WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)

Types

type Artifact

type Artifact struct {
	Checksum     string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"`
	Lastupdateat int32  `protobuf:"varint,2,opt,name=lastupdateat,proto3" json:"lastupdateat,omitempty"`
	Path         string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Revision     string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	Url          string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Artifact) Descriptor deprecated

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

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetChecksum

func (x *Artifact) GetChecksum() string

func (*Artifact) GetLastupdateat

func (x *Artifact) GetLastupdateat() int32

func (*Artifact) GetPath

func (x *Artifact) GetPath() string

func (*Artifact) GetRevision

func (x *Artifact) GetRevision() string

func (*Artifact) GetUrl

func (x *Artifact) GetUrl() string

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

func (x *Artifact) ProtoReflect() protoreflect.Message

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

type Clusters

func NewClustersJSONClient

func NewClustersJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Clusters

NewClustersJSONClient creates a JSON client that implements the Clusters interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewClustersProtobufClient

func NewClustersProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Clusters

NewClustersProtobufClient creates a Protobuf client that implements the Clusters interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type Condition

type Condition struct {
	Type      string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Status    string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Reason    string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	Message   string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetMessage

func (x *Condition) GetMessage() string

func (*Condition) GetReason

func (x *Condition) GetReason() string

func (*Condition) GetStatus

func (x *Condition) GetStatus() string

func (*Condition) GetTimestamp

func (x *Condition) GetTimestamp() string

func (*Condition) GetType

func (x *Condition) GetType() string

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

func (x *Condition) ProtoReflect() protoreflect.Message

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

type Container

type Container struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*Container) Descriptor deprecated

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetImage

func (x *Container) GetImage() string

func (*Container) GetName

func (x *Container) GetName() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

func (x *Container) ProtoReflect() protoreflect.Message

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type Context

type Context struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Context) Descriptor deprecated

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

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetName

func (x *Context) GetName() string

func (*Context) ProtoMessage

func (*Context) ProtoMessage()

func (*Context) ProtoReflect

func (x *Context) ProtoReflect() protoreflect.Message

func (*Context) Reset

func (x *Context) Reset()

func (*Context) String

func (x *Context) String() string

type Event

type Event struct {
	Type      string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Reason    string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	Message   string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Timestamp int32  `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Source    string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetMessage

func (x *Event) GetMessage() string

func (*Event) GetReason

func (x *Event) GetReason() string

func (*Event) GetSource

func (x *Event) GetSource() string

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() int32

func (*Event) GetType

func (x *Event) GetType() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type GetChildObjectsReq added in v0.1.0

type GetChildObjectsReq struct {
	ContextName      string            `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	GroupVersionKind *GroupVersionKind `protobuf:"bytes,2,opt,name=groupVersionKind,proto3" json:"groupVersionKind,omitempty"`
	ParentUid        string            `protobuf:"bytes,3,opt,name=parentUid,proto3" json:"parentUid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChildObjectsReq) Descriptor deprecated added in v0.1.0

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

Deprecated: Use GetChildObjectsReq.ProtoReflect.Descriptor instead.

func (*GetChildObjectsReq) GetContextName added in v0.1.0

func (x *GetChildObjectsReq) GetContextName() string

func (*GetChildObjectsReq) GetGroupVersionKind added in v0.1.0

func (x *GetChildObjectsReq) GetGroupVersionKind() *GroupVersionKind

func (*GetChildObjectsReq) GetParentUid added in v0.1.0

func (x *GetChildObjectsReq) GetParentUid() string

func (*GetChildObjectsReq) ProtoMessage added in v0.1.0

func (*GetChildObjectsReq) ProtoMessage()

func (*GetChildObjectsReq) ProtoReflect added in v0.1.0

func (x *GetChildObjectsReq) ProtoReflect() protoreflect.Message

func (*GetChildObjectsReq) Reset added in v0.1.0

func (x *GetChildObjectsReq) Reset()

func (*GetChildObjectsReq) String added in v0.1.0

func (x *GetChildObjectsReq) String() string

type GetChildObjectsRes added in v0.1.0

type GetChildObjectsRes struct {
	Objects []*UnstructuredObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChildObjectsRes) Descriptor deprecated added in v0.1.0

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

Deprecated: Use GetChildObjectsRes.ProtoReflect.Descriptor instead.

func (*GetChildObjectsRes) GetObjects added in v0.1.0

func (x *GetChildObjectsRes) GetObjects() []*UnstructuredObject

func (*GetChildObjectsRes) ProtoMessage added in v0.1.0

func (*GetChildObjectsRes) ProtoMessage()

func (*GetChildObjectsRes) ProtoReflect added in v0.1.0

func (x *GetChildObjectsRes) ProtoReflect() protoreflect.Message

func (*GetChildObjectsRes) Reset added in v0.1.0

func (x *GetChildObjectsRes) Reset()

func (*GetChildObjectsRes) String added in v0.1.0

func (x *GetChildObjectsRes) String() string

type GetReconciledObjectsReq added in v0.1.0

type GetReconciledObjectsReq struct {
	ContextName            string              `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	KustomizationName      string              `protobuf:"bytes,2,opt,name=kustomizationName,proto3" json:"kustomizationName,omitempty"`
	KustomizationNamespace string              `protobuf:"bytes,3,opt,name=kustomizationNamespace,proto3" json:"kustomizationNamespace,omitempty"`
	Kinds                  []*GroupVersionKind `protobuf:"bytes,4,rep,name=kinds,proto3" json:"kinds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReconciledObjectsReq) Descriptor deprecated added in v0.1.0

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

Deprecated: Use GetReconciledObjectsReq.ProtoReflect.Descriptor instead.

func (*GetReconciledObjectsReq) GetContextName added in v0.1.0

func (x *GetReconciledObjectsReq) GetContextName() string

func (*GetReconciledObjectsReq) GetKinds added in v0.1.0

func (x *GetReconciledObjectsReq) GetKinds() []*GroupVersionKind

func (*GetReconciledObjectsReq) GetKustomizationName added in v0.1.0

func (x *GetReconciledObjectsReq) GetKustomizationName() string

func (*GetReconciledObjectsReq) GetKustomizationNamespace added in v0.1.0

func (x *GetReconciledObjectsReq) GetKustomizationNamespace() string

func (*GetReconciledObjectsReq) ProtoMessage added in v0.1.0

func (*GetReconciledObjectsReq) ProtoMessage()

func (*GetReconciledObjectsReq) ProtoReflect added in v0.1.0

func (x *GetReconciledObjectsReq) ProtoReflect() protoreflect.Message

func (*GetReconciledObjectsReq) Reset added in v0.1.0

func (x *GetReconciledObjectsReq) Reset()

func (*GetReconciledObjectsReq) String added in v0.1.0

func (x *GetReconciledObjectsReq) String() string

type GetReconciledObjectsRes added in v0.1.0

type GetReconciledObjectsRes struct {
	Objects []*UnstructuredObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReconciledObjectsRes) Descriptor deprecated added in v0.1.0

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

Deprecated: Use GetReconciledObjectsRes.ProtoReflect.Descriptor instead.

func (*GetReconciledObjectsRes) GetObjects added in v0.1.0

func (x *GetReconciledObjectsRes) GetObjects() []*UnstructuredObject

func (*GetReconciledObjectsRes) ProtoMessage added in v0.1.0

func (*GetReconciledObjectsRes) ProtoMessage()

func (*GetReconciledObjectsRes) ProtoReflect added in v0.1.0

func (x *GetReconciledObjectsRes) ProtoReflect() protoreflect.Message

func (*GetReconciledObjectsRes) Reset added in v0.1.0

func (x *GetReconciledObjectsRes) Reset()

func (*GetReconciledObjectsRes) String added in v0.1.0

func (x *GetReconciledObjectsRes) String() string

type GitRepositoryRef

type GitRepositoryRef struct {
	Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	Tag    string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	Semver string `protobuf:"bytes,3,opt,name=semver,proto3" json:"semver,omitempty"`
	Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

func (*GitRepositoryRef) Descriptor deprecated

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

Deprecated: Use GitRepositoryRef.ProtoReflect.Descriptor instead.

func (*GitRepositoryRef) GetBranch

func (x *GitRepositoryRef) GetBranch() string

func (*GitRepositoryRef) GetCommit

func (x *GitRepositoryRef) GetCommit() string

func (*GitRepositoryRef) GetSemver

func (x *GitRepositoryRef) GetSemver() string

func (*GitRepositoryRef) GetTag

func (x *GitRepositoryRef) GetTag() string

func (*GitRepositoryRef) ProtoMessage

func (*GitRepositoryRef) ProtoMessage()

func (*GitRepositoryRef) ProtoReflect

func (x *GitRepositoryRef) ProtoReflect() protoreflect.Message

func (*GitRepositoryRef) Reset

func (x *GitRepositoryRef) Reset()

func (*GitRepositoryRef) String

func (x *GitRepositoryRef) String() string

type GroupVersionKind added in v0.1.0

type GroupVersionKind struct {
	Group   string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Kind    string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupVersionKind) Descriptor deprecated added in v0.1.0

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

Deprecated: Use GroupVersionKind.ProtoReflect.Descriptor instead.

func (*GroupVersionKind) GetGroup added in v0.1.0

func (x *GroupVersionKind) GetGroup() string

func (*GroupVersionKind) GetKind added in v0.1.0

func (x *GroupVersionKind) GetKind() string

func (*GroupVersionKind) GetVersion added in v0.1.0

func (x *GroupVersionKind) GetVersion() string

func (*GroupVersionKind) ProtoMessage added in v0.1.0

func (*GroupVersionKind) ProtoMessage()

func (*GroupVersionKind) ProtoReflect added in v0.1.0

func (x *GroupVersionKind) ProtoReflect() protoreflect.Message

func (*GroupVersionKind) Reset added in v0.1.0

func (x *GroupVersionKind) Reset()

func (*GroupVersionKind) String added in v0.1.0

func (x *GroupVersionKind) String() string

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.

HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.

type HelmRelease

type HelmRelease struct {
	Name            string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace       string       `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Interval        string       `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"`
	ChartName       string       `protobuf:"bytes,5,opt,name=chartName,proto3" json:"chartName,omitempty"`
	Version         string       `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	SourceKind      string       `protobuf:"bytes,7,opt,name=sourceKind,proto3" json:"sourceKind,omitempty"`
	SourceName      string       `protobuf:"bytes,8,opt,name=sourceName,proto3" json:"sourceName,omitempty"`
	SourceNamespace string       `protobuf:"bytes,9,opt,name=sourceNamespace,proto3" json:"sourceNamespace,omitempty"`
	Conditions      []*Condition `protobuf:"bytes,12,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

func (*HelmRelease) Descriptor deprecated

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

Deprecated: Use HelmRelease.ProtoReflect.Descriptor instead.

func (*HelmRelease) GetChartName

func (x *HelmRelease) GetChartName() string

func (*HelmRelease) GetConditions

func (x *HelmRelease) GetConditions() []*Condition

func (*HelmRelease) GetInterval

func (x *HelmRelease) GetInterval() string

func (*HelmRelease) GetName

func (x *HelmRelease) GetName() string

func (*HelmRelease) GetNamespace

func (x *HelmRelease) GetNamespace() string

func (*HelmRelease) GetSourceKind

func (x *HelmRelease) GetSourceKind() string

func (*HelmRelease) GetSourceName

func (x *HelmRelease) GetSourceName() string

func (*HelmRelease) GetSourceNamespace

func (x *HelmRelease) GetSourceNamespace() string

func (*HelmRelease) GetVersion

func (x *HelmRelease) GetVersion() string

func (*HelmRelease) ProtoMessage

func (*HelmRelease) ProtoMessage()

func (*HelmRelease) ProtoReflect

func (x *HelmRelease) ProtoReflect() protoreflect.Message

func (*HelmRelease) Reset

func (x *HelmRelease) Reset()

func (*HelmRelease) String

func (x *HelmRelease) String() string

type Kustomization

type Kustomization struct {
	Name                  string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace             string           `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	TargetNamespace       string           `protobuf:"bytes,3,opt,name=targetNamespace,proto3" json:"targetNamespace,omitempty"`
	Path                  string           `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	SourceRef             string           `protobuf:"bytes,5,opt,name=sourceRef,proto3" json:"sourceRef,omitempty"`
	Conditions            []*Condition     `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"`
	Interval              string           `protobuf:"bytes,7,opt,name=interval,proto3" json:"interval,omitempty"`
	Prune                 bool             `protobuf:"varint,8,opt,name=prune,proto3" json:"prune,omitempty"`
	ReconcileRequestAt    string           `protobuf:"bytes,9,opt,name=reconcileRequestAt,proto3" json:"reconcileRequestAt,omitempty"`
	ReconcileAt           string           `protobuf:"bytes,10,opt,name=reconcileAt,proto3" json:"reconcileAt,omitempty"`
	SourceRefKind         Source_Type      `protobuf:"varint,11,opt,name=sourceRefKind,proto3,enum=clusters.Source_Type" json:"sourceRefKind,omitempty"`
	Snapshots             []*SnapshotEntry `protobuf:"bytes,12,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	LastAppliedRevision   string           `protobuf:"bytes,13,opt,name=lastAppliedRevision,proto3" json:"lastAppliedRevision,omitempty"`
	LastAttemptedRevision string           `protobuf:"bytes,14,opt,name=lastAttemptedRevision,proto3" json:"lastAttemptedRevision,omitempty"`
	// contains filtered or unexported fields
}

func (*Kustomization) Descriptor deprecated

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

Deprecated: Use Kustomization.ProtoReflect.Descriptor instead.

func (*Kustomization) GetConditions

func (x *Kustomization) GetConditions() []*Condition

func (*Kustomization) GetInterval

func (x *Kustomization) GetInterval() string

func (*Kustomization) GetLastAppliedRevision added in v0.1.0

func (x *Kustomization) GetLastAppliedRevision() string

func (*Kustomization) GetLastAttemptedRevision added in v0.1.0

func (x *Kustomization) GetLastAttemptedRevision() string

func (*Kustomization) GetName

func (x *Kustomization) GetName() string

func (*Kustomization) GetNamespace

func (x *Kustomization) GetNamespace() string

func (*Kustomization) GetPath

func (x *Kustomization) GetPath() string

func (*Kustomization) GetPrune

func (x *Kustomization) GetPrune() bool

func (*Kustomization) GetReconcileAt

func (x *Kustomization) GetReconcileAt() string

func (*Kustomization) GetReconcileRequestAt

func (x *Kustomization) GetReconcileRequestAt() string

func (*Kustomization) GetSnapshots added in v0.1.0

func (x *Kustomization) GetSnapshots() []*SnapshotEntry

func (*Kustomization) GetSourceRef

func (x *Kustomization) GetSourceRef() string

func (*Kustomization) GetSourceRefKind

func (x *Kustomization) GetSourceRefKind() Source_Type

func (*Kustomization) GetTargetNamespace

func (x *Kustomization) GetTargetNamespace() string

func (*Kustomization) ProtoMessage

func (*Kustomization) ProtoMessage()

func (*Kustomization) ProtoReflect

func (x *Kustomization) ProtoReflect() protoreflect.Message

func (*Kustomization) Reset

func (x *Kustomization) Reset()

func (*Kustomization) String

func (x *Kustomization) String() string

type ListContextsReq

type ListContextsReq struct {
	// contains filtered or unexported fields
}

func (*ListContextsReq) Descriptor deprecated

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

Deprecated: Use ListContextsReq.ProtoReflect.Descriptor instead.

func (*ListContextsReq) ProtoMessage

func (*ListContextsReq) ProtoMessage()

func (*ListContextsReq) ProtoReflect

func (x *ListContextsReq) ProtoReflect() protoreflect.Message

func (*ListContextsReq) Reset

func (x *ListContextsReq) Reset()

func (*ListContextsReq) String

func (x *ListContextsReq) String() string

type ListContextsRes

type ListContextsRes struct {
	CurrentContext string     `protobuf:"bytes,1,opt,name=currentContext,proto3" json:"currentContext,omitempty"`
	Contexts       []*Context `protobuf:"bytes,2,rep,name=contexts,proto3" json:"contexts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListContextsRes) Descriptor deprecated

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

Deprecated: Use ListContextsRes.ProtoReflect.Descriptor instead.

func (*ListContextsRes) GetContexts

func (x *ListContextsRes) GetContexts() []*Context

func (*ListContextsRes) GetCurrentContext

func (x *ListContextsRes) GetCurrentContext() string

func (*ListContextsRes) ProtoMessage

func (*ListContextsRes) ProtoMessage()

func (*ListContextsRes) ProtoReflect

func (x *ListContextsRes) ProtoReflect() protoreflect.Message

func (*ListContextsRes) Reset

func (x *ListContextsRes) Reset()

func (*ListContextsRes) String

func (x *ListContextsRes) String() string

type ListEventsReq

type ListEventsReq struct {
	ContextName string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Namespace   string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsReq) Descriptor deprecated

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

Deprecated: Use ListEventsReq.ProtoReflect.Descriptor instead.

func (*ListEventsReq) GetContextName

func (x *ListEventsReq) GetContextName() string

func (*ListEventsReq) GetNamespace

func (x *ListEventsReq) GetNamespace() string

func (*ListEventsReq) ProtoMessage

func (*ListEventsReq) ProtoMessage()

func (*ListEventsReq) ProtoReflect

func (x *ListEventsReq) ProtoReflect() protoreflect.Message

func (*ListEventsReq) Reset

func (x *ListEventsReq) Reset()

func (*ListEventsReq) String

func (x *ListEventsReq) String() string

type ListEventsRes

type ListEventsRes struct {
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsRes) Descriptor deprecated

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

Deprecated: Use ListEventsRes.ProtoReflect.Descriptor instead.

func (*ListEventsRes) GetEvents

func (x *ListEventsRes) GetEvents() []*Event

func (*ListEventsRes) ProtoMessage

func (*ListEventsRes) ProtoMessage()

func (*ListEventsRes) ProtoReflect

func (x *ListEventsRes) ProtoReflect() protoreflect.Message

func (*ListEventsRes) Reset

func (x *ListEventsRes) Reset()

func (*ListEventsRes) String

func (x *ListEventsRes) String() string

type ListHelmReleasesReq

type ListHelmReleasesReq struct {
	ContextName string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Namespace   string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHelmReleasesReq) Descriptor deprecated

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

Deprecated: Use ListHelmReleasesReq.ProtoReflect.Descriptor instead.

func (*ListHelmReleasesReq) GetContextName

func (x *ListHelmReleasesReq) GetContextName() string

func (*ListHelmReleasesReq) GetNamespace

func (x *ListHelmReleasesReq) GetNamespace() string

func (*ListHelmReleasesReq) ProtoMessage

func (*ListHelmReleasesReq) ProtoMessage()

func (*ListHelmReleasesReq) ProtoReflect

func (x *ListHelmReleasesReq) ProtoReflect() protoreflect.Message

func (*ListHelmReleasesReq) Reset

func (x *ListHelmReleasesReq) Reset()

func (*ListHelmReleasesReq) String

func (x *ListHelmReleasesReq) String() string

type ListHelmReleasesRes

type ListHelmReleasesRes struct {
	HelmReleases []*HelmRelease `protobuf:"bytes,1,rep,name=helm_releases,json=helmReleases,proto3" json:"helm_releases,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHelmReleasesRes) Descriptor deprecated

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

Deprecated: Use ListHelmReleasesRes.ProtoReflect.Descriptor instead.

func (*ListHelmReleasesRes) GetHelmReleases

func (x *ListHelmReleasesRes) GetHelmReleases() []*HelmRelease

func (*ListHelmReleasesRes) ProtoMessage

func (*ListHelmReleasesRes) ProtoMessage()

func (*ListHelmReleasesRes) ProtoReflect

func (x *ListHelmReleasesRes) ProtoReflect() protoreflect.Message

func (*ListHelmReleasesRes) Reset

func (x *ListHelmReleasesRes) Reset()

func (*ListHelmReleasesRes) String

func (x *ListHelmReleasesRes) String() string

type ListKustomizationChildrenReq

type ListKustomizationChildrenReq struct {
	ContextName            string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	KustomizationName      string `protobuf:"bytes,2,opt,name=kustomizationName,proto3" json:"kustomizationName,omitempty"`
	KustomizationNamespace string `protobuf:"bytes,3,opt,name=KustomizationNamespace,proto3" json:"KustomizationNamespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKustomizationChildrenReq) Descriptor deprecated

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

Deprecated: Use ListKustomizationChildrenReq.ProtoReflect.Descriptor instead.

func (*ListKustomizationChildrenReq) GetContextName

func (x *ListKustomizationChildrenReq) GetContextName() string

func (*ListKustomizationChildrenReq) GetKustomizationName

func (x *ListKustomizationChildrenReq) GetKustomizationName() string

func (*ListKustomizationChildrenReq) GetKustomizationNamespace

func (x *ListKustomizationChildrenReq) GetKustomizationNamespace() string

func (*ListKustomizationChildrenReq) ProtoMessage

func (*ListKustomizationChildrenReq) ProtoMessage()

func (*ListKustomizationChildrenReq) ProtoReflect

func (*ListKustomizationChildrenReq) Reset

func (x *ListKustomizationChildrenReq) Reset()

func (*ListKustomizationChildrenReq) String

type ListKustomizationChildrenRes

type ListKustomizationChildrenRes struct {
	Workloads []*Workload `protobuf:"bytes,1,rep,name=workloads,proto3" json:"workloads,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKustomizationChildrenRes) Descriptor deprecated

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

Deprecated: Use ListKustomizationChildrenRes.ProtoReflect.Descriptor instead.

func (*ListKustomizationChildrenRes) GetWorkloads

func (x *ListKustomizationChildrenRes) GetWorkloads() []*Workload

func (*ListKustomizationChildrenRes) ProtoMessage

func (*ListKustomizationChildrenRes) ProtoMessage()

func (*ListKustomizationChildrenRes) ProtoReflect

func (*ListKustomizationChildrenRes) Reset

func (x *ListKustomizationChildrenRes) Reset()

func (*ListKustomizationChildrenRes) String

type ListKustomizationsReq

type ListKustomizationsReq struct {
	ContextName string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Namespace   string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKustomizationsReq) Descriptor deprecated

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

Deprecated: Use ListKustomizationsReq.ProtoReflect.Descriptor instead.

func (*ListKustomizationsReq) GetContextName

func (x *ListKustomizationsReq) GetContextName() string

func (*ListKustomizationsReq) GetNamespace

func (x *ListKustomizationsReq) GetNamespace() string

func (*ListKustomizationsReq) ProtoMessage

func (*ListKustomizationsReq) ProtoMessage()

func (*ListKustomizationsReq) ProtoReflect

func (x *ListKustomizationsReq) ProtoReflect() protoreflect.Message

func (*ListKustomizationsReq) Reset

func (x *ListKustomizationsReq) Reset()

func (*ListKustomizationsReq) String

func (x *ListKustomizationsReq) String() string

type ListKustomizationsRes

type ListKustomizationsRes struct {
	Kustomizations []*Kustomization `protobuf:"bytes,1,rep,name=kustomizations,proto3" json:"kustomizations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKustomizationsRes) Descriptor deprecated

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

Deprecated: Use ListKustomizationsRes.ProtoReflect.Descriptor instead.

func (*ListKustomizationsRes) GetKustomizations

func (x *ListKustomizationsRes) GetKustomizations() []*Kustomization

func (*ListKustomizationsRes) ProtoMessage

func (*ListKustomizationsRes) ProtoMessage()

func (*ListKustomizationsRes) ProtoReflect

func (x *ListKustomizationsRes) ProtoReflect() protoreflect.Message

func (*ListKustomizationsRes) Reset

func (x *ListKustomizationsRes) Reset()

func (*ListKustomizationsRes) String

func (x *ListKustomizationsRes) String() string

type ListNamespacesForContextReq

type ListNamespacesForContextReq struct {
	ContextName string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespacesForContextReq) Descriptor deprecated

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

Deprecated: Use ListNamespacesForContextReq.ProtoReflect.Descriptor instead.

func (*ListNamespacesForContextReq) GetContextName

func (x *ListNamespacesForContextReq) GetContextName() string

func (*ListNamespacesForContextReq) ProtoMessage

func (*ListNamespacesForContextReq) ProtoMessage()

func (*ListNamespacesForContextReq) ProtoReflect

func (*ListNamespacesForContextReq) Reset

func (x *ListNamespacesForContextReq) Reset()

func (*ListNamespacesForContextReq) String

func (x *ListNamespacesForContextReq) String() string

type ListNamespacesForContextRes

type ListNamespacesForContextRes struct {
	Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespacesForContextRes) Descriptor deprecated

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

Deprecated: Use ListNamespacesForContextRes.ProtoReflect.Descriptor instead.

func (*ListNamespacesForContextRes) GetNamespaces

func (x *ListNamespacesForContextRes) GetNamespaces() []string

func (*ListNamespacesForContextRes) ProtoMessage

func (*ListNamespacesForContextRes) ProtoMessage()

func (*ListNamespacesForContextRes) ProtoReflect

func (*ListNamespacesForContextRes) Reset

func (x *ListNamespacesForContextRes) Reset()

func (*ListNamespacesForContextRes) String

func (x *ListNamespacesForContextRes) String() string

type ListSourcesReq

type ListSourcesReq struct {
	ContextName string      `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Namespace   string      `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	SourceType  Source_Type `protobuf:"varint,3,opt,name=sourceType,proto3,enum=clusters.Source_Type" json:"sourceType,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSourcesReq) Descriptor deprecated

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

Deprecated: Use ListSourcesReq.ProtoReflect.Descriptor instead.

func (*ListSourcesReq) GetContextName

func (x *ListSourcesReq) GetContextName() string

func (*ListSourcesReq) GetNamespace

func (x *ListSourcesReq) GetNamespace() string

func (*ListSourcesReq) GetSourceType

func (x *ListSourcesReq) GetSourceType() Source_Type

func (*ListSourcesReq) ProtoMessage

func (*ListSourcesReq) ProtoMessage()

func (*ListSourcesReq) ProtoReflect

func (x *ListSourcesReq) ProtoReflect() protoreflect.Message

func (*ListSourcesReq) Reset

func (x *ListSourcesReq) Reset()

func (*ListSourcesReq) String

func (x *ListSourcesReq) String() string

type ListSourcesRes

type ListSourcesRes struct {
	Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSourcesRes) Descriptor deprecated

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

Deprecated: Use ListSourcesRes.ProtoReflect.Descriptor instead.

func (*ListSourcesRes) GetSources

func (x *ListSourcesRes) GetSources() []*Source

func (*ListSourcesRes) ProtoMessage

func (*ListSourcesRes) ProtoMessage()

func (*ListSourcesRes) ProtoReflect

func (x *ListSourcesRes) ProtoReflect() protoreflect.Message

func (*ListSourcesRes) Reset

func (x *ListSourcesRes) Reset()

func (*ListSourcesRes) String

func (x *ListSourcesRes) String() string

type ListWorkloadsReq

type ListWorkloadsReq struct {
	ContextName string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Namespace   string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkloadsReq) Descriptor deprecated

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

Deprecated: Use ListWorkloadsReq.ProtoReflect.Descriptor instead.

func (*ListWorkloadsReq) GetContextName

func (x *ListWorkloadsReq) GetContextName() string

func (*ListWorkloadsReq) GetNamespace

func (x *ListWorkloadsReq) GetNamespace() string

func (*ListWorkloadsReq) ProtoMessage

func (*ListWorkloadsReq) ProtoMessage()

func (*ListWorkloadsReq) ProtoReflect

func (x *ListWorkloadsReq) ProtoReflect() protoreflect.Message

func (*ListWorkloadsReq) Reset

func (x *ListWorkloadsReq) Reset()

func (*ListWorkloadsReq) String

func (x *ListWorkloadsReq) String() string

type ListWorkloadsRes

type ListWorkloadsRes struct {
	Workloads []*Workload `protobuf:"bytes,1,rep,name=workloads,proto3" json:"workloads,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkloadsRes) Descriptor deprecated

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

Deprecated: Use ListWorkloadsRes.ProtoReflect.Descriptor instead.

func (*ListWorkloadsRes) GetWorkloads

func (x *ListWorkloadsRes) GetWorkloads() []*Workload

func (*ListWorkloadsRes) ProtoMessage

func (*ListWorkloadsRes) ProtoMessage()

func (*ListWorkloadsRes) ProtoReflect

func (x *ListWorkloadsRes) ProtoReflect() protoreflect.Message

func (*ListWorkloadsRes) Reset

func (x *ListWorkloadsRes) Reset()

func (*ListWorkloadsRes) String

func (x *ListWorkloadsRes) String() string

type PodTemplate

type PodTemplate struct {
	Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
	// contains filtered or unexported fields
}

func (*PodTemplate) Descriptor deprecated

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

Deprecated: Use PodTemplate.ProtoReflect.Descriptor instead.

func (*PodTemplate) GetContainers

func (x *PodTemplate) GetContainers() []*Container

func (*PodTemplate) ProtoMessage

func (*PodTemplate) ProtoMessage()

func (*PodTemplate) ProtoReflect

func (x *PodTemplate) ProtoReflect() protoreflect.Message

func (*PodTemplate) Reset

func (x *PodTemplate) Reset()

func (*PodTemplate) String

func (x *PodTemplate) String() string

type SnapshotEntry added in v0.1.0

type SnapshotEntry struct {
	Namespace string              `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Kinds     []*GroupVersionKind `protobuf:"bytes,2,rep,name=kinds,proto3" json:"kinds,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotEntry) Descriptor deprecated added in v0.1.0

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

Deprecated: Use SnapshotEntry.ProtoReflect.Descriptor instead.

func (*SnapshotEntry) GetKinds added in v0.1.0

func (x *SnapshotEntry) GetKinds() []*GroupVersionKind

func (*SnapshotEntry) GetNamespace added in v0.1.0

func (x *SnapshotEntry) GetNamespace() string

func (*SnapshotEntry) ProtoMessage added in v0.1.0

func (*SnapshotEntry) ProtoMessage()

func (*SnapshotEntry) ProtoReflect added in v0.1.0

func (x *SnapshotEntry) ProtoReflect() protoreflect.Message

func (*SnapshotEntry) Reset added in v0.1.0

func (x *SnapshotEntry) Reset()

func (*SnapshotEntry) String added in v0.1.0

func (x *SnapshotEntry) String() string

type Source

type Source struct {
	Name              string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url               string            `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Reference         *GitRepositoryRef `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	Type              Source_Type       `protobuf:"varint,4,opt,name=type,proto3,enum=clusters.Source_Type" json:"type,omitempty"`
	Provider          string            `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	Bucketname        string            `protobuf:"bytes,6,opt,name=bucketname,proto3" json:"bucketname,omitempty"`
	Region            string            `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`
	Namespace         string            `protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Gitimplementation string            `protobuf:"bytes,9,opt,name=gitimplementation,proto3" json:"gitimplementation,omitempty"`
	Timeout           string            `protobuf:"bytes,10,opt,name=timeout,proto3" json:"timeout,omitempty"`
	SecretRefName     string            `protobuf:"bytes,11,opt,name=secretRefName,proto3" json:"secretRefName,omitempty"`
	Conditions        []*Condition      `protobuf:"bytes,12,rep,name=conditions,proto3" json:"conditions,omitempty"`
	Artifact          *Artifact         `protobuf:"bytes,13,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// contains filtered or unexported fields
}

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetArtifact

func (x *Source) GetArtifact() *Artifact

func (*Source) GetBucketname

func (x *Source) GetBucketname() string

func (*Source) GetConditions

func (x *Source) GetConditions() []*Condition

func (*Source) GetGitimplementation

func (x *Source) GetGitimplementation() string

func (*Source) GetName

func (x *Source) GetName() string

func (*Source) GetNamespace

func (x *Source) GetNamespace() string

func (*Source) GetProvider

func (x *Source) GetProvider() string

func (*Source) GetReference

func (x *Source) GetReference() *GitRepositoryRef

func (*Source) GetRegion

func (x *Source) GetRegion() string

func (*Source) GetSecretRefName

func (x *Source) GetSecretRefName() string

func (*Source) GetTimeout

func (x *Source) GetTimeout() string

func (*Source) GetType

func (x *Source) GetType() Source_Type

func (*Source) GetUrl

func (x *Source) GetUrl() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type Source_Type

type Source_Type int32
const (
	Source_Git    Source_Type = 0
	Source_Bucket Source_Type = 1
	Source_Helm   Source_Type = 2
	Source_Chart  Source_Type = 3
)

func (Source_Type) Descriptor

func (Source_Type) Enum

func (x Source_Type) Enum() *Source_Type

func (Source_Type) EnumDescriptor deprecated

func (Source_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Source_Type.Descriptor instead.

func (Source_Type) Number

func (x Source_Type) Number() protoreflect.EnumNumber

func (Source_Type) String

func (x Source_Type) String() string

func (Source_Type) Type

type SyncHelmReleaseReq added in v0.1.0

type SyncHelmReleaseReq struct {
	ContextName     string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Namespace       string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	HelmReleaseName string `protobuf:"bytes,3,opt,name=helmReleaseName,proto3" json:"helmReleaseName,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncHelmReleaseReq) Descriptor deprecated added in v0.1.0

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

Deprecated: Use SyncHelmReleaseReq.ProtoReflect.Descriptor instead.

func (*SyncHelmReleaseReq) GetContextName added in v0.1.0

func (x *SyncHelmReleaseReq) GetContextName() string

func (*SyncHelmReleaseReq) GetHelmReleaseName added in v0.1.0

func (x *SyncHelmReleaseReq) GetHelmReleaseName() string

func (*SyncHelmReleaseReq) GetNamespace added in v0.1.0

func (x *SyncHelmReleaseReq) GetNamespace() string

func (*SyncHelmReleaseReq) ProtoMessage added in v0.1.0

func (*SyncHelmReleaseReq) ProtoMessage()

func (*SyncHelmReleaseReq) ProtoReflect added in v0.1.0

func (x *SyncHelmReleaseReq) ProtoReflect() protoreflect.Message

func (*SyncHelmReleaseReq) Reset added in v0.1.0

func (x *SyncHelmReleaseReq) Reset()

func (*SyncHelmReleaseReq) String added in v0.1.0

func (x *SyncHelmReleaseReq) String() string

type SyncHelmReleaseRes added in v0.1.0

type SyncHelmReleaseRes struct {
	Helmrelease *HelmRelease `protobuf:"bytes,1,opt,name=helmrelease,proto3" json:"helmrelease,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncHelmReleaseRes) Descriptor deprecated added in v0.1.0

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

Deprecated: Use SyncHelmReleaseRes.ProtoReflect.Descriptor instead.

func (*SyncHelmReleaseRes) GetHelmrelease added in v0.1.0

func (x *SyncHelmReleaseRes) GetHelmrelease() *HelmRelease

func (*SyncHelmReleaseRes) ProtoMessage added in v0.1.0

func (*SyncHelmReleaseRes) ProtoMessage()

func (*SyncHelmReleaseRes) ProtoReflect added in v0.1.0

func (x *SyncHelmReleaseRes) ProtoReflect() protoreflect.Message

func (*SyncHelmReleaseRes) Reset added in v0.1.0

func (x *SyncHelmReleaseRes) Reset()

func (*SyncHelmReleaseRes) String added in v0.1.0

func (x *SyncHelmReleaseRes) String() string

type SyncKustomizationReq

type SyncKustomizationReq struct {
	ContextName       string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Namespace         string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	KustomizationName string `protobuf:"bytes,3,opt,name=kustomizationName,proto3" json:"kustomizationName,omitempty"`
	WithSource        bool   `protobuf:"varint,4,opt,name=withSource,proto3" json:"withSource,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncKustomizationReq) Descriptor deprecated

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

Deprecated: Use SyncKustomizationReq.ProtoReflect.Descriptor instead.

func (*SyncKustomizationReq) GetContextName

func (x *SyncKustomizationReq) GetContextName() string

func (*SyncKustomizationReq) GetKustomizationName

func (x *SyncKustomizationReq) GetKustomizationName() string

func (*SyncKustomizationReq) GetNamespace

func (x *SyncKustomizationReq) GetNamespace() string

func (*SyncKustomizationReq) GetWithSource

func (x *SyncKustomizationReq) GetWithSource() bool

func (*SyncKustomizationReq) ProtoMessage

func (*SyncKustomizationReq) ProtoMessage()

func (*SyncKustomizationReq) ProtoReflect

func (x *SyncKustomizationReq) ProtoReflect() protoreflect.Message

func (*SyncKustomizationReq) Reset

func (x *SyncKustomizationReq) Reset()

func (*SyncKustomizationReq) String

func (x *SyncKustomizationReq) String() string

type SyncKustomizationRes

type SyncKustomizationRes struct {
	Kustomization *Kustomization `protobuf:"bytes,1,opt,name=kustomization,proto3" json:"kustomization,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncKustomizationRes) Descriptor deprecated

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

Deprecated: Use SyncKustomizationRes.ProtoReflect.Descriptor instead.

func (*SyncKustomizationRes) GetKustomization

func (x *SyncKustomizationRes) GetKustomization() *Kustomization

func (*SyncKustomizationRes) ProtoMessage

func (*SyncKustomizationRes) ProtoMessage()

func (*SyncKustomizationRes) ProtoReflect

func (x *SyncKustomizationRes) ProtoReflect() protoreflect.Message

func (*SyncKustomizationRes) Reset

func (x *SyncKustomizationRes) Reset()

func (*SyncKustomizationRes) String

func (x *SyncKustomizationRes) String() string

type SyncSourceReq added in v0.1.0

type SyncSourceReq struct {
	ContextName string      `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Namespace   string      `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	SourceName  string      `protobuf:"bytes,3,opt,name=sourceName,proto3" json:"sourceName,omitempty"`
	SourceType  Source_Type `protobuf:"varint,4,opt,name=sourceType,proto3,enum=clusters.Source_Type" json:"sourceType,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncSourceReq) Descriptor deprecated added in v0.1.0

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

Deprecated: Use SyncSourceReq.ProtoReflect.Descriptor instead.

func (*SyncSourceReq) GetContextName added in v0.1.0

func (x *SyncSourceReq) GetContextName() string

func (*SyncSourceReq) GetNamespace added in v0.1.0

func (x *SyncSourceReq) GetNamespace() string

func (*SyncSourceReq) GetSourceName added in v0.1.0

func (x *SyncSourceReq) GetSourceName() string

func (*SyncSourceReq) GetSourceType added in v0.1.0

func (x *SyncSourceReq) GetSourceType() Source_Type

func (*SyncSourceReq) ProtoMessage added in v0.1.0

func (*SyncSourceReq) ProtoMessage()

func (*SyncSourceReq) ProtoReflect added in v0.1.0

func (x *SyncSourceReq) ProtoReflect() protoreflect.Message

func (*SyncSourceReq) Reset added in v0.1.0

func (x *SyncSourceReq) Reset()

func (*SyncSourceReq) String added in v0.1.0

func (x *SyncSourceReq) String() string

type SyncSourceRes added in v0.1.0

type SyncSourceRes struct {
	Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncSourceRes) Descriptor deprecated added in v0.1.0

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

Deprecated: Use SyncSourceRes.ProtoReflect.Descriptor instead.

func (*SyncSourceRes) GetSource added in v0.1.0

func (x *SyncSourceRes) GetSource() *Source

func (*SyncSourceRes) ProtoMessage added in v0.1.0

func (*SyncSourceRes) ProtoMessage()

func (*SyncSourceRes) ProtoReflect added in v0.1.0

func (x *SyncSourceRes) ProtoReflect() protoreflect.Message

func (*SyncSourceRes) Reset added in v0.1.0

func (x *SyncSourceRes) Reset()

func (*SyncSourceRes) String added in v0.1.0

func (x *SyncSourceRes) String() string

type TwirpServer

type TwirpServer interface {
	http.Handler

	// ServiceDescriptor returns gzipped bytes describing the .proto file that
	// this service was generated from. Once unzipped, the bytes can be
	// unmarshalled as a
	// github.com/golang/protobuf/protoc-gen-go/descriptor.FileDescriptorProto.
	//
	// The returned integer is the index of this particular service within that
	// FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a
	// low-level field, expected to be used for reflection.
	ServiceDescriptor() ([]byte, int)

	// ProtocGenTwirpVersion is the semantic version string of the version of
	// twirp used to generate this file.
	ProtocGenTwirpVersion() string

	// PathPrefix returns the HTTP URL path prefix for all methods handled by this
	// service. This can be used with an HTTP mux to route Twirp requests.
	// The path prefix is in the form: "/<prefix>/<package>.<Service>/"
	// that is, everything in a Twirp route except for the <Method> at the end.
	PathPrefix() string
}

TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.

func NewClustersServer

func NewClustersServer(svc Clusters, opts ...interface{}) TwirpServer

NewClustersServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

type UnstructuredObject added in v0.1.0

type UnstructuredObject struct {
	GroupVersionKind *GroupVersionKind `protobuf:"bytes,2,opt,name=groupVersionKind,proto3" json:"groupVersionKind,omitempty"`
	Name             string            `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Namespace        string            `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Uid              string            `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"`
	Status           string            `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UnstructuredObject) Descriptor deprecated added in v0.1.0

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

Deprecated: Use UnstructuredObject.ProtoReflect.Descriptor instead.

func (*UnstructuredObject) GetGroupVersionKind added in v0.1.0

func (x *UnstructuredObject) GetGroupVersionKind() *GroupVersionKind

func (*UnstructuredObject) GetName added in v0.1.0

func (x *UnstructuredObject) GetName() string

func (*UnstructuredObject) GetNamespace added in v0.1.0

func (x *UnstructuredObject) GetNamespace() string

func (*UnstructuredObject) GetStatus added in v0.1.0

func (x *UnstructuredObject) GetStatus() string

func (*UnstructuredObject) GetUid added in v0.1.0

func (x *UnstructuredObject) GetUid() string

func (*UnstructuredObject) ProtoMessage added in v0.1.0

func (*UnstructuredObject) ProtoMessage()

func (*UnstructuredObject) ProtoReflect added in v0.1.0

func (x *UnstructuredObject) ProtoReflect() protoreflect.Message

func (*UnstructuredObject) Reset added in v0.1.0

func (x *UnstructuredObject) Reset()

func (*UnstructuredObject) String added in v0.1.0

func (x *UnstructuredObject) String() string

type Workload

type Workload struct {
	Name                      string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace                 string       `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	KustomizationRefName      string       `protobuf:"bytes,3,opt,name=kustomizationRefName,proto3" json:"kustomizationRefName,omitempty"`
	KustomizationRefNamespace string       `protobuf:"bytes,4,opt,name=kustomizationRefNamespace,proto3" json:"kustomizationRefNamespace,omitempty"`
	PodTemplate               *PodTemplate `protobuf:"bytes,5,opt,name=podTemplate,proto3" json:"podTemplate,omitempty"`
	// contains filtered or unexported fields
}

func (*Workload) Descriptor deprecated

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

Deprecated: Use Workload.ProtoReflect.Descriptor instead.

func (*Workload) GetKustomizationRefName

func (x *Workload) GetKustomizationRefName() string

func (*Workload) GetKustomizationRefNamespace

func (x *Workload) GetKustomizationRefNamespace() string

func (*Workload) GetName

func (x *Workload) GetName() string

func (*Workload) GetNamespace

func (x *Workload) GetNamespace() string

func (*Workload) GetPodTemplate

func (x *Workload) GetPodTemplate() *PodTemplate

func (*Workload) ProtoMessage

func (*Workload) ProtoMessage()

func (*Workload) ProtoReflect

func (x *Workload) ProtoReflect() protoreflect.Message

func (*Workload) Reset

func (x *Workload) Reset()

func (*Workload) String

func (x *Workload) String() string

Jump to

Keyboard shortcuts

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