Documentation ¶
Index ¶
- Variables
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetName() string
- func (x *Cluster) GetNamespace() string
- func (x *Cluster) GetUid() string
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- type Context
- func (*Context) Descriptor() ([]byte, []int)deprecated
- func (x *Context) GetCluster() *Cluster
- func (x *Context) GetName() string
- func (x *Context) GetNodes() []string
- func (*Context) ProtoMessage()
- func (x *Context) ProtoReflect() protoreflect.Message
- func (x *Context) Reset()
- func (x *Context) String() string
- type Runtime
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Runtime_name = map[int32]string{ 0: "Kubernetes", 1: "Talos", 2: "Theila", } Runtime_value = map[string]int32{ "Kubernetes": 0, "Talos": 1, "Theila": 2, } )
Enum value maps for Runtime.
View Source
var File_common_theila_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { // Name of the cluster. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Namespace of the cluster. Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // UID of the cluster. Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
Cluster contains settings for fetching the config from cluster resource in Kubernetes.
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetNamespace ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
type Context ¶
type Context struct { // Name fetches the config from the top level Kubeconfig or Talosconfig. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cluster fetches the context from the cluster resource in Kubernetes. Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` // Nodes to fetch the data from using Talos client. Nodes []string `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
Context represents Kubernetes or Talos config source.
func (*Context) Descriptor
deprecated
func (*Context) GetCluster ¶
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) ProtoReflect ¶
func (x *Context) ProtoReflect() protoreflect.Message
type Runtime ¶
type Runtime int32
Data source.
func (Runtime) Descriptor ¶
func (Runtime) Descriptor() protoreflect.EnumDescriptor
func (Runtime) EnumDescriptor
deprecated
func (Runtime) Number ¶
func (x Runtime) Number() protoreflect.EnumNumber
func (Runtime) Type ¶
func (Runtime) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.