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
- Variables
- func WriteError(resp http.ResponseWriter, err error)
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)deprecated
- func (x *Artifact) GetChecksum() string
- func (x *Artifact) GetLastupdateat() int32
- func (x *Artifact) GetPath() string
- func (x *Artifact) GetRevision() string
- func (x *Artifact) GetUrl() string
- func (*Artifact) ProtoMessage()
- func (x *Artifact) ProtoReflect() protoreflect.Message
- func (x *Artifact) Reset()
- func (x *Artifact) String() string
- type Clusters
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetMessage() string
- func (x *Condition) GetReason() string
- func (x *Condition) GetStatus() string
- func (x *Condition) GetTimestamp() string
- func (x *Condition) GetType() string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type Container
- type Context
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetMessage() string
- func (x *Event) GetReason() string
- func (x *Event) GetSource() string
- func (x *Event) GetTimestamp() int32
- func (x *Event) GetType() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type GitRepositoryRef
- func (*GitRepositoryRef) Descriptor() ([]byte, []int)deprecated
- func (x *GitRepositoryRef) GetBranch() string
- func (x *GitRepositoryRef) GetCommit() string
- func (x *GitRepositoryRef) GetSemver() string
- func (x *GitRepositoryRef) GetTag() string
- func (*GitRepositoryRef) ProtoMessage()
- func (x *GitRepositoryRef) ProtoReflect() protoreflect.Message
- func (x *GitRepositoryRef) Reset()
- func (x *GitRepositoryRef) String() string
- type HTTPClient
- type HelmRelease
- func (*HelmRelease) Descriptor() ([]byte, []int)deprecated
- func (x *HelmRelease) GetChartName() string
- func (x *HelmRelease) GetConditions() []*Condition
- func (x *HelmRelease) GetInterval() string
- func (x *HelmRelease) GetName() string
- func (x *HelmRelease) GetNamespace() string
- func (x *HelmRelease) GetSourceKind() string
- func (x *HelmRelease) GetSourceName() string
- func (x *HelmRelease) GetSourceNamespace() string
- func (x *HelmRelease) GetVersion() string
- func (*HelmRelease) ProtoMessage()
- func (x *HelmRelease) ProtoReflect() protoreflect.Message
- func (x *HelmRelease) Reset()
- func (x *HelmRelease) String() string
- type Kustomization
- func (*Kustomization) Descriptor() ([]byte, []int)deprecated
- func (x *Kustomization) GetConditions() []*Condition
- func (x *Kustomization) GetInterval() string
- func (x *Kustomization) GetName() string
- func (x *Kustomization) GetNamespace() string
- func (x *Kustomization) GetPath() string
- func (x *Kustomization) GetPrune() bool
- func (x *Kustomization) GetReconcileAt() string
- func (x *Kustomization) GetReconcileRequestAt() string
- func (x *Kustomization) GetSourceRef() string
- func (x *Kustomization) GetSourceRefKind() Source_Type
- func (x *Kustomization) GetTargetNamespace() string
- func (*Kustomization) ProtoMessage()
- func (x *Kustomization) ProtoReflect() protoreflect.Message
- func (x *Kustomization) Reset()
- func (x *Kustomization) String() string
- type ListContextsReq
- type ListContextsRes
- func (*ListContextsRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListContextsRes) GetContexts() []*Context
- func (x *ListContextsRes) GetCurrentContext() string
- func (*ListContextsRes) ProtoMessage()
- func (x *ListContextsRes) ProtoReflect() protoreflect.Message
- func (x *ListContextsRes) Reset()
- func (x *ListContextsRes) String() string
- type ListEventsReq
- func (*ListEventsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsReq) GetContextName() string
- func (x *ListEventsReq) GetNamespace() string
- func (*ListEventsReq) ProtoMessage()
- func (x *ListEventsReq) ProtoReflect() protoreflect.Message
- func (x *ListEventsReq) Reset()
- func (x *ListEventsReq) String() string
- type ListEventsRes
- type ListHelmReleasesReq
- func (*ListHelmReleasesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListHelmReleasesReq) GetContextName() string
- func (x *ListHelmReleasesReq) GetNamespace() string
- func (*ListHelmReleasesReq) ProtoMessage()
- func (x *ListHelmReleasesReq) ProtoReflect() protoreflect.Message
- func (x *ListHelmReleasesReq) Reset()
- func (x *ListHelmReleasesReq) String() string
- type ListHelmReleasesRes
- func (*ListHelmReleasesRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListHelmReleasesRes) GetHelmReleases() []*HelmRelease
- func (*ListHelmReleasesRes) ProtoMessage()
- func (x *ListHelmReleasesRes) ProtoReflect() protoreflect.Message
- func (x *ListHelmReleasesRes) Reset()
- func (x *ListHelmReleasesRes) String() string
- type ListKustomizationChildrenReq
- func (*ListKustomizationChildrenReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListKustomizationChildrenReq) GetContextName() string
- func (x *ListKustomizationChildrenReq) GetKustomizationName() string
- func (x *ListKustomizationChildrenReq) GetKustomizationNamespace() string
- func (*ListKustomizationChildrenReq) ProtoMessage()
- func (x *ListKustomizationChildrenReq) ProtoReflect() protoreflect.Message
- func (x *ListKustomizationChildrenReq) Reset()
- func (x *ListKustomizationChildrenReq) String() string
- type ListKustomizationChildrenRes
- func (*ListKustomizationChildrenRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListKustomizationChildrenRes) GetWorkloads() []*Workload
- func (*ListKustomizationChildrenRes) ProtoMessage()
- func (x *ListKustomizationChildrenRes) ProtoReflect() protoreflect.Message
- func (x *ListKustomizationChildrenRes) Reset()
- func (x *ListKustomizationChildrenRes) String() string
- type ListKustomizationsReq
- func (*ListKustomizationsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListKustomizationsReq) GetContextName() string
- func (x *ListKustomizationsReq) GetNamespace() string
- func (*ListKustomizationsReq) ProtoMessage()
- func (x *ListKustomizationsReq) ProtoReflect() protoreflect.Message
- func (x *ListKustomizationsReq) Reset()
- func (x *ListKustomizationsReq) String() string
- type ListKustomizationsRes
- func (*ListKustomizationsRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListKustomizationsRes) GetKustomizations() []*Kustomization
- func (*ListKustomizationsRes) ProtoMessage()
- func (x *ListKustomizationsRes) ProtoReflect() protoreflect.Message
- func (x *ListKustomizationsRes) Reset()
- func (x *ListKustomizationsRes) String() string
- type ListNamespacesForContextReq
- func (*ListNamespacesForContextReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesForContextReq) GetContextName() string
- func (*ListNamespacesForContextReq) ProtoMessage()
- func (x *ListNamespacesForContextReq) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesForContextReq) Reset()
- func (x *ListNamespacesForContextReq) String() string
- type ListNamespacesForContextRes
- func (*ListNamespacesForContextRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesForContextRes) GetNamespaces() []string
- func (*ListNamespacesForContextRes) ProtoMessage()
- func (x *ListNamespacesForContextRes) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesForContextRes) Reset()
- func (x *ListNamespacesForContextRes) String() string
- type ListSourcesReq
- func (*ListSourcesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListSourcesReq) GetContextName() string
- func (x *ListSourcesReq) GetNamespace() string
- func (x *ListSourcesReq) GetSourceType() Source_Type
- func (*ListSourcesReq) ProtoMessage()
- func (x *ListSourcesReq) ProtoReflect() protoreflect.Message
- func (x *ListSourcesReq) Reset()
- func (x *ListSourcesReq) String() string
- type ListSourcesRes
- type ListWorkloadsReq
- func (*ListWorkloadsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkloadsReq) GetContextName() string
- func (x *ListWorkloadsReq) GetNamespace() string
- func (*ListWorkloadsReq) ProtoMessage()
- func (x *ListWorkloadsReq) ProtoReflect() protoreflect.Message
- func (x *ListWorkloadsReq) Reset()
- func (x *ListWorkloadsReq) String() string
- type ListWorkloadsRes
- type PodTemplate
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetArtifact() *Artifact
- func (x *Source) GetBucketname() string
- func (x *Source) GetConditions() []*Condition
- func (x *Source) GetGitimplementation() string
- func (x *Source) GetName() string
- func (x *Source) GetNamespace() string
- func (x *Source) GetProvider() string
- func (x *Source) GetReference() *GitRepositoryRef
- func (x *Source) GetRegion() string
- func (x *Source) GetSecretRefName() string
- func (x *Source) GetTimeout() string
- func (x *Source) GetType() Source_Type
- func (x *Source) GetUrl() string
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
- type Source_Type
- func (Source_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Source_Type) Enum() *Source_Type
- func (Source_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Source_Type) Number() protoreflect.EnumNumber
- func (x Source_Type) String() string
- func (Source_Type) Type() protoreflect.EnumType
- type SyncKustomizationReq
- func (*SyncKustomizationReq) Descriptor() ([]byte, []int)deprecated
- func (x *SyncKustomizationReq) GetContextName() string
- func (x *SyncKustomizationReq) GetKustomizationName() string
- func (x *SyncKustomizationReq) GetNamespace() string
- func (x *SyncKustomizationReq) GetWithSource() bool
- func (*SyncKustomizationReq) ProtoMessage()
- func (x *SyncKustomizationReq) ProtoReflect() protoreflect.Message
- func (x *SyncKustomizationReq) Reset()
- func (x *SyncKustomizationReq) String() string
- type SyncKustomizationRes
- func (*SyncKustomizationRes) Descriptor() ([]byte, []int)deprecated
- func (x *SyncKustomizationRes) GetKustomization() *Kustomization
- func (*SyncKustomizationRes) ProtoMessage()
- func (x *SyncKustomizationRes) ProtoReflect() protoreflect.Message
- func (x *SyncKustomizationRes) Reset()
- func (x *SyncKustomizationRes) String() string
- type TwirpServer
- type Workload
- func (*Workload) Descriptor() ([]byte, []int)deprecated
- func (x *Workload) GetKustomizationRefName() string
- func (x *Workload) GetKustomizationRefNamespace() string
- func (x *Workload) GetName() string
- func (x *Workload) GetNamespace() string
- func (x *Workload) GetPodTemplate() *PodTemplate
- func (*Workload) ProtoMessage()
- func (x *Workload) ProtoReflect() protoreflect.Message
- func (x *Workload) Reset()
- func (x *Workload) String() string
Constants ¶
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 ¶
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.
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) GetChecksum ¶
func (*Artifact) GetLastupdateat ¶
func (*Artifact) GetRevision ¶
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) ProtoReflect ¶
func (x *Artifact) ProtoReflect() protoreflect.Message
type Clusters ¶
type Clusters interface { ListContexts(context.Context, *ListContextsReq) (*ListContextsRes, error) ListNamespacesForContext(context.Context, *ListNamespacesForContextReq) (*ListNamespacesForContextRes, error) ListKustomizations(context.Context, *ListKustomizationsReq) (*ListKustomizationsRes, error) ListSources(context.Context, *ListSourcesReq) (*ListSourcesRes, error) SyncKustomization(context.Context, *SyncKustomizationReq) (*SyncKustomizationRes, error) ListHelmReleases(context.Context, *ListHelmReleasesReq) (*ListHelmReleasesRes, error) ListWorkloads(context.Context, *ListWorkloadsReq) (*ListWorkloadsRes, error) ListEvents(context.Context, *ListEventsReq) (*ListEventsRes, error) }
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) GetMessage ¶
func (*Condition) GetTimestamp ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) ProtoReflect ¶
func (x *Context) ProtoReflect() protoreflect.Message
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) GetMessage ¶
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
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 HTTPClient ¶
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"` // 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) 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) 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 (x *ListKustomizationChildrenReq) ProtoReflect() protoreflect.Message
func (*ListKustomizationChildrenReq) Reset ¶
func (x *ListKustomizationChildrenReq) Reset()
func (*ListKustomizationChildrenReq) String ¶
func (x *ListKustomizationChildrenReq) String() 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 (x *ListKustomizationChildrenRes) ProtoReflect() protoreflect.Message
func (*ListKustomizationChildrenRes) Reset ¶
func (x *ListKustomizationChildrenRes) Reset()
func (*ListKustomizationChildrenRes) String ¶
func (x *ListKustomizationChildrenRes) String() 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 (x *ListNamespacesForContextReq) ProtoReflect() protoreflect.Message
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 (x *ListNamespacesForContextRes) ProtoReflect() protoreflect.Message
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 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) GetArtifact ¶
func (*Source) GetBucketname ¶
func (*Source) GetConditions ¶
func (*Source) GetGitimplementation ¶
func (*Source) GetNamespace ¶
func (*Source) GetProvider ¶
func (*Source) GetReference ¶
func (x *Source) GetReference() *GitRepositoryRef
func (*Source) GetSecretRefName ¶
func (*Source) GetTimeout ¶
func (*Source) GetType ¶
func (x *Source) GetType() Source_Type
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (Source_Type) Type() protoreflect.EnumType
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 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 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) GetKustomizationRefName ¶
func (*Workload) GetKustomizationRefNamespace ¶
func (*Workload) GetNamespace ¶
func (*Workload) GetPodTemplate ¶
func (x *Workload) GetPodTemplate() *PodTemplate
func (*Workload) ProtoMessage ¶
func (*Workload) ProtoMessage()
func (*Workload) ProtoReflect ¶
func (x *Workload) ProtoReflect() protoreflect.Message