Documentation ¶
Index ¶
- type Configuration
- func (cfg *Configuration) AddContext(c *Context, force bool) bool
- func (cfg *Configuration) AddControlPlane(cp *ControlPlane, force bool) bool
- func (*Configuration) Descriptor() ([]byte, []int)
- func (cfg *Configuration) GetContext(name string) (int, *Context)
- func (m *Configuration) GetContexts() []*Context
- func (cfg *Configuration) GetControlPlane(name string) (int, *ControlPlane)
- func (m *Configuration) GetControlPlanes() []*ControlPlane
- func (cfg *Configuration) GetCurrent() *Context
- func (m *Configuration) GetCurrentContext() string
- func (*Configuration) ProtoMessage()
- func (cfg *Configuration) RemoveContext(name string) bool
- func (cfg *Configuration) RemoveControlPlane(name string) bool
- func (m *Configuration) Reset()
- func (m *Configuration) String() string
- func (cfg *Configuration) SwitchContext(name string) bool
- func (m *Configuration) Validate() error
- func (m *Configuration) XXX_DiscardUnknown()
- func (m *Configuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Configuration) XXX_Merge(src proto.Message)
- func (m *Configuration) XXX_Size() int
- func (m *Configuration) XXX_Unmarshal(b []byte) error
- type ConfigurationValidationError
- func (e ConfigurationValidationError) Cause() error
- func (e ConfigurationValidationError) Error() string
- func (e ConfigurationValidationError) ErrorName() string
- func (e ConfigurationValidationError) Field() string
- func (e ConfigurationValidationError) Key() bool
- func (e ConfigurationValidationError) Reason() string
- type Context
- func (*Context) Descriptor() ([]byte, []int)
- func (m *Context) GetControlPlane() string
- func (m *Context) GetCredentials() *Context_Credentials
- func (m *Context) GetDefaults() *Context_Defaults
- func (m *Context) GetName() string
- func (*Context) ProtoMessage()
- func (m *Context) Reset()
- func (m *Context) String() string
- func (m *Context) Validate() error
- func (m *Context) XXX_DiscardUnknown()
- func (m *Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Context) XXX_Merge(src proto.Message)
- func (m *Context) XXX_Size() int
- func (m *Context) XXX_Unmarshal(b []byte) error
- type ContextValidationError
- type Context_AdminApiCredentials
- func (*Context_AdminApiCredentials) Descriptor() ([]byte, []int)
- func (m *Context_AdminApiCredentials) GetClientCert() string
- func (m *Context_AdminApiCredentials) GetClientKey() string
- func (cfg *Context_AdminApiCredentials) HasClientCert() bool
- func (*Context_AdminApiCredentials) ProtoMessage()
- func (m *Context_AdminApiCredentials) Reset()
- func (m *Context_AdminApiCredentials) String() string
- func (m *Context_AdminApiCredentials) Validate() error
- func (m *Context_AdminApiCredentials) XXX_DiscardUnknown()
- func (m *Context_AdminApiCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Context_AdminApiCredentials) XXX_Merge(src proto.Message)
- func (m *Context_AdminApiCredentials) XXX_Size() int
- func (m *Context_AdminApiCredentials) XXX_Unmarshal(b []byte) error
- type Context_AdminApiCredentialsValidationError
- func (e Context_AdminApiCredentialsValidationError) Cause() error
- func (e Context_AdminApiCredentialsValidationError) Error() string
- func (e Context_AdminApiCredentialsValidationError) ErrorName() string
- func (e Context_AdminApiCredentialsValidationError) Field() string
- func (e Context_AdminApiCredentialsValidationError) Key() bool
- func (e Context_AdminApiCredentialsValidationError) Reason() string
- type Context_Credentials
- func (*Context_Credentials) Descriptor() ([]byte, []int)
- func (m *Context_Credentials) GetAdminApi() *Context_AdminApiCredentials
- func (*Context_Credentials) ProtoMessage()
- func (m *Context_Credentials) Reset()
- func (m *Context_Credentials) String() string
- func (m *Context_Credentials) Validate() error
- func (m *Context_Credentials) XXX_DiscardUnknown()
- func (m *Context_Credentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Context_Credentials) XXX_Merge(src proto.Message)
- func (m *Context_Credentials) XXX_Size() int
- func (m *Context_Credentials) XXX_Unmarshal(b []byte) error
- type Context_CredentialsValidationError
- func (e Context_CredentialsValidationError) Cause() error
- func (e Context_CredentialsValidationError) Error() string
- func (e Context_CredentialsValidationError) ErrorName() string
- func (e Context_CredentialsValidationError) Field() string
- func (e Context_CredentialsValidationError) Key() bool
- func (e Context_CredentialsValidationError) Reason() string
- type Context_Defaults
- func (*Context_Defaults) Descriptor() ([]byte, []int)
- func (m *Context_Defaults) GetMesh() string
- func (*Context_Defaults) ProtoMessage()
- func (m *Context_Defaults) Reset()
- func (m *Context_Defaults) String() string
- func (m *Context_Defaults) Validate() error
- func (m *Context_Defaults) XXX_DiscardUnknown()
- func (m *Context_Defaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Context_Defaults) XXX_Merge(src proto.Message)
- func (m *Context_Defaults) XXX_Size() int
- func (m *Context_Defaults) XXX_Unmarshal(b []byte) error
- type Context_DefaultsValidationError
- func (e Context_DefaultsValidationError) Cause() error
- func (e Context_DefaultsValidationError) Error() string
- func (e Context_DefaultsValidationError) ErrorName() string
- func (e Context_DefaultsValidationError) Field() string
- func (e Context_DefaultsValidationError) Key() bool
- func (e Context_DefaultsValidationError) Reason() string
- type ControlPlane
- func (*ControlPlane) Descriptor() ([]byte, []int)
- func (m *ControlPlane) GetCoordinates() *ControlPlaneCoordinates
- func (m *ControlPlane) GetName() string
- func (*ControlPlane) ProtoMessage()
- func (m *ControlPlane) Reset()
- func (m *ControlPlane) String() string
- func (m *ControlPlane) Validate() error
- func (m *ControlPlane) XXX_DiscardUnknown()
- func (m *ControlPlane) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ControlPlane) XXX_Merge(src proto.Message)
- func (m *ControlPlane) XXX_Size() int
- func (m *ControlPlane) XXX_Unmarshal(b []byte) error
- type ControlPlaneCoordinates
- func (*ControlPlaneCoordinates) Descriptor() ([]byte, []int)
- func (m *ControlPlaneCoordinates) GetApiServer() *ControlPlaneCoordinates_ApiServer
- func (*ControlPlaneCoordinates) ProtoMessage()
- func (m *ControlPlaneCoordinates) Reset()
- func (m *ControlPlaneCoordinates) String() string
- func (m *ControlPlaneCoordinates) Validate() error
- func (m *ControlPlaneCoordinates) XXX_DiscardUnknown()
- func (m *ControlPlaneCoordinates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ControlPlaneCoordinates) XXX_Merge(src proto.Message)
- func (m *ControlPlaneCoordinates) XXX_Size() int
- func (m *ControlPlaneCoordinates) XXX_Unmarshal(b []byte) error
- type ControlPlaneCoordinatesValidationError
- func (e ControlPlaneCoordinatesValidationError) Cause() error
- func (e ControlPlaneCoordinatesValidationError) Error() string
- func (e ControlPlaneCoordinatesValidationError) ErrorName() string
- func (e ControlPlaneCoordinatesValidationError) Field() string
- func (e ControlPlaneCoordinatesValidationError) Key() bool
- func (e ControlPlaneCoordinatesValidationError) Reason() string
- type ControlPlaneCoordinates_ApiServer
- func (*ControlPlaneCoordinates_ApiServer) Descriptor() ([]byte, []int)
- func (m *ControlPlaneCoordinates_ApiServer) GetUrl() string
- func (*ControlPlaneCoordinates_ApiServer) ProtoMessage()
- func (m *ControlPlaneCoordinates_ApiServer) Reset()
- func (m *ControlPlaneCoordinates_ApiServer) String() string
- func (m *ControlPlaneCoordinates_ApiServer) Validate() error
- func (m *ControlPlaneCoordinates_ApiServer) XXX_DiscardUnknown()
- func (m *ControlPlaneCoordinates_ApiServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ControlPlaneCoordinates_ApiServer) XXX_Merge(src proto.Message)
- func (m *ControlPlaneCoordinates_ApiServer) XXX_Size() int
- func (m *ControlPlaneCoordinates_ApiServer) XXX_Unmarshal(b []byte) error
- type ControlPlaneCoordinates_ApiServerValidationError
- func (e ControlPlaneCoordinates_ApiServerValidationError) Cause() error
- func (e ControlPlaneCoordinates_ApiServerValidationError) Error() string
- func (e ControlPlaneCoordinates_ApiServerValidationError) ErrorName() string
- func (e ControlPlaneCoordinates_ApiServerValidationError) Field() string
- func (e ControlPlaneCoordinates_ApiServerValidationError) Key() bool
- func (e ControlPlaneCoordinates_ApiServerValidationError) Reason() string
- type ControlPlaneValidationError
- func (e ControlPlaneValidationError) Cause() error
- func (e ControlPlaneValidationError) Error() string
- func (e ControlPlaneValidationError) ErrorName() string
- func (e ControlPlaneValidationError) Field() string
- func (e ControlPlaneValidationError) Key() bool
- func (e ControlPlaneValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // List of known Control Planes. ControlPlanes []*ControlPlane `protobuf:"bytes,1,rep,name=control_planes,json=controlPlanes,proto3" json:"control_planes,omitempty"` // List of configured `kumactl` contexts. Contexts []*Context `protobuf:"bytes,2,rep,name=contexts,proto3" json:"contexts,omitempty"` // Name of the context to use by default. CurrentContext string `protobuf:"bytes,3,opt,name=current_context,json=currentContext,proto3" json:"current_context,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration defines configuration of `kumactl`.
func (*Configuration) AddContext ¶
func (cfg *Configuration) AddContext(c *Context, force bool) bool
func (*Configuration) AddControlPlane ¶
func (cfg *Configuration) AddControlPlane(cp *ControlPlane, force bool) bool
func (*Configuration) Descriptor ¶
func (*Configuration) Descriptor() ([]byte, []int)
func (*Configuration) GetContext ¶
func (cfg *Configuration) GetContext(name string) (int, *Context)
func (*Configuration) GetContexts ¶
func (m *Configuration) GetContexts() []*Context
func (*Configuration) GetControlPlane ¶
func (cfg *Configuration) GetControlPlane(name string) (int, *ControlPlane)
func (*Configuration) GetControlPlanes ¶
func (m *Configuration) GetControlPlanes() []*ControlPlane
func (*Configuration) GetCurrent ¶
func (cfg *Configuration) GetCurrent() *Context
func (*Configuration) GetCurrentContext ¶
func (m *Configuration) GetCurrentContext() string
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) RemoveContext ¶
func (cfg *Configuration) RemoveContext(name string) bool
func (*Configuration) RemoveControlPlane ¶
func (cfg *Configuration) RemoveControlPlane(name string) bool
func (*Configuration) Reset ¶
func (m *Configuration) Reset()
func (*Configuration) String ¶
func (m *Configuration) String() string
func (*Configuration) SwitchContext ¶
func (cfg *Configuration) SwitchContext(name string) bool
func (*Configuration) Validate ¶
func (m *Configuration) Validate() error
Validate checks the field values on Configuration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Configuration) XXX_DiscardUnknown ¶
func (m *Configuration) XXX_DiscardUnknown()
func (*Configuration) XXX_Marshal ¶
func (m *Configuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Configuration) XXX_Merge ¶
func (m *Configuration) XXX_Merge(src proto.Message)
func (*Configuration) XXX_Size ¶
func (m *Configuration) XXX_Size() int
func (*Configuration) XXX_Unmarshal ¶
func (m *Configuration) XXX_Unmarshal(b []byte) error
type ConfigurationValidationError ¶
type ConfigurationValidationError struct {
// contains filtered or unexported fields
}
ConfigurationValidationError is the validation error returned by Configuration.Validate if the designated constraints aren't met.
func (ConfigurationValidationError) Cause ¶
func (e ConfigurationValidationError) Cause() error
Cause function returns cause value.
func (ConfigurationValidationError) Error ¶
func (e ConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigurationValidationError) ErrorName ¶
func (e ConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigurationValidationError) Field ¶
func (e ConfigurationValidationError) Field() string
Field function returns field value.
func (ConfigurationValidationError) Key ¶
func (e ConfigurationValidationError) Key() bool
Key function returns key value.
func (ConfigurationValidationError) Reason ¶
func (e ConfigurationValidationError) Reason() string
Reason function returns reason value.
type Context ¶
type Context struct { // Name defines a reference name for a given context. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ControlPlane defines a reference to a known Control Plane. ControlPlane string `protobuf:"bytes,2,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"` // Defaults defines default settings for a given context. Defaults *Context_Defaults `protobuf:"bytes,3,opt,name=defaults,proto3" json:"defaults,omitempty"` Credentials *Context_Credentials `protobuf:"bytes,4,opt,name=credentials,proto3" json:"credentials,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Context defines a context in which individual `kumactl` commands run.
func (*Context) Descriptor ¶
func (*Context) GetControlPlane ¶
func (*Context) GetCredentials ¶
func (m *Context) GetCredentials() *Context_Credentials
func (*Context) GetDefaults ¶
func (m *Context) GetDefaults() *Context_Defaults
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) Validate ¶
Validate checks the field values on Context with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Context) XXX_DiscardUnknown ¶
func (m *Context) XXX_DiscardUnknown()
func (*Context) XXX_Marshal ¶
func (*Context) XXX_Unmarshal ¶
type ContextValidationError ¶
type ContextValidationError struct {
// contains filtered or unexported fields
}
ContextValidationError is the validation error returned by Context.Validate if the designated constraints aren't met.
func (ContextValidationError) Cause ¶
func (e ContextValidationError) Cause() error
Cause function returns cause value.
func (ContextValidationError) Error ¶
func (e ContextValidationError) Error() string
Error satisfies the builtin error interface
func (ContextValidationError) ErrorName ¶
func (e ContextValidationError) ErrorName() string
ErrorName returns error name.
func (ContextValidationError) Field ¶
func (e ContextValidationError) Field() string
Field function returns field value.
func (ContextValidationError) Key ¶
func (e ContextValidationError) Key() bool
Key function returns key value.
func (ContextValidationError) Reason ¶
func (e ContextValidationError) Reason() string
Reason function returns reason value.
type Context_AdminApiCredentials ¶
type Context_AdminApiCredentials struct { // ClientCert defines certificate of authorized client of admin server ClientCert string `protobuf:"bytes,2,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty"` // ClientKey defines key of authorized client of admin server ClientKey string `protobuf:"bytes,3,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AdminApiCredentials defines credential configuration of admin client
func (*Context_AdminApiCredentials) Descriptor ¶
func (*Context_AdminApiCredentials) Descriptor() ([]byte, []int)
func (*Context_AdminApiCredentials) GetClientCert ¶
func (m *Context_AdminApiCredentials) GetClientCert() string
func (*Context_AdminApiCredentials) GetClientKey ¶
func (m *Context_AdminApiCredentials) GetClientKey() string
func (*Context_AdminApiCredentials) HasClientCert ¶
func (cfg *Context_AdminApiCredentials) HasClientCert() bool
func (*Context_AdminApiCredentials) ProtoMessage ¶
func (*Context_AdminApiCredentials) ProtoMessage()
func (*Context_AdminApiCredentials) Reset ¶
func (m *Context_AdminApiCredentials) Reset()
func (*Context_AdminApiCredentials) String ¶
func (m *Context_AdminApiCredentials) String() string
func (*Context_AdminApiCredentials) Validate ¶
func (m *Context_AdminApiCredentials) Validate() error
Validate checks the field values on Context_AdminApiCredentials with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Context_AdminApiCredentials) XXX_DiscardUnknown ¶
func (m *Context_AdminApiCredentials) XXX_DiscardUnknown()
func (*Context_AdminApiCredentials) XXX_Marshal ¶
func (m *Context_AdminApiCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Context_AdminApiCredentials) XXX_Merge ¶
func (m *Context_AdminApiCredentials) XXX_Merge(src proto.Message)
func (*Context_AdminApiCredentials) XXX_Size ¶
func (m *Context_AdminApiCredentials) XXX_Size() int
func (*Context_AdminApiCredentials) XXX_Unmarshal ¶
func (m *Context_AdminApiCredentials) XXX_Unmarshal(b []byte) error
type Context_AdminApiCredentialsValidationError ¶
type Context_AdminApiCredentialsValidationError struct {
// contains filtered or unexported fields
}
Context_AdminApiCredentialsValidationError is the validation error returned by Context_AdminApiCredentials.Validate if the designated constraints aren't met.
func (Context_AdminApiCredentialsValidationError) Cause ¶
func (e Context_AdminApiCredentialsValidationError) Cause() error
Cause function returns cause value.
func (Context_AdminApiCredentialsValidationError) Error ¶
func (e Context_AdminApiCredentialsValidationError) Error() string
Error satisfies the builtin error interface
func (Context_AdminApiCredentialsValidationError) ErrorName ¶
func (e Context_AdminApiCredentialsValidationError) ErrorName() string
ErrorName returns error name.
func (Context_AdminApiCredentialsValidationError) Field ¶
func (e Context_AdminApiCredentialsValidationError) Field() string
Field function returns field value.
func (Context_AdminApiCredentialsValidationError) Key ¶
func (e Context_AdminApiCredentialsValidationError) Key() bool
Key function returns key value.
func (Context_AdminApiCredentialsValidationError) Reason ¶
func (e Context_AdminApiCredentialsValidationError) Reason() string
Reason function returns reason value.
type Context_Credentials ¶
type Context_Credentials struct { // AdminApiCredentials defines credentials for admin client AdminApi *Context_AdminApiCredentials `protobuf:"bytes,1,opt,name=adminApi,proto3" json:"adminApi,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Credentials defines credentials for various APIs
func (*Context_Credentials) Descriptor ¶
func (*Context_Credentials) Descriptor() ([]byte, []int)
func (*Context_Credentials) GetAdminApi ¶
func (m *Context_Credentials) GetAdminApi() *Context_AdminApiCredentials
func (*Context_Credentials) ProtoMessage ¶
func (*Context_Credentials) ProtoMessage()
func (*Context_Credentials) Reset ¶
func (m *Context_Credentials) Reset()
func (*Context_Credentials) String ¶
func (m *Context_Credentials) String() string
func (*Context_Credentials) Validate ¶
func (m *Context_Credentials) Validate() error
Validate checks the field values on Context_Credentials with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Context_Credentials) XXX_DiscardUnknown ¶
func (m *Context_Credentials) XXX_DiscardUnknown()
func (*Context_Credentials) XXX_Marshal ¶
func (m *Context_Credentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Context_Credentials) XXX_Merge ¶
func (m *Context_Credentials) XXX_Merge(src proto.Message)
func (*Context_Credentials) XXX_Size ¶
func (m *Context_Credentials) XXX_Size() int
func (*Context_Credentials) XXX_Unmarshal ¶
func (m *Context_Credentials) XXX_Unmarshal(b []byte) error
type Context_CredentialsValidationError ¶
type Context_CredentialsValidationError struct {
// contains filtered or unexported fields
}
Context_CredentialsValidationError is the validation error returned by Context_Credentials.Validate if the designated constraints aren't met.
func (Context_CredentialsValidationError) Cause ¶
func (e Context_CredentialsValidationError) Cause() error
Cause function returns cause value.
func (Context_CredentialsValidationError) Error ¶
func (e Context_CredentialsValidationError) Error() string
Error satisfies the builtin error interface
func (Context_CredentialsValidationError) ErrorName ¶
func (e Context_CredentialsValidationError) ErrorName() string
ErrorName returns error name.
func (Context_CredentialsValidationError) Field ¶
func (e Context_CredentialsValidationError) Field() string
Field function returns field value.
func (Context_CredentialsValidationError) Key ¶
func (e Context_CredentialsValidationError) Key() bool
Key function returns key value.
func (Context_CredentialsValidationError) Reason ¶
func (e Context_CredentialsValidationError) Reason() string
Reason function returns reason value.
type Context_Defaults ¶
type Context_Defaults struct { // Mesh defines a Mesh to use in requests if one is not provided explicitly. Mesh string `protobuf:"bytes,1,opt,name=mesh,proto3" json:"mesh,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Defaults defines default settings for a context.
func (*Context_Defaults) Descriptor ¶
func (*Context_Defaults) Descriptor() ([]byte, []int)
func (*Context_Defaults) GetMesh ¶
func (m *Context_Defaults) GetMesh() string
func (*Context_Defaults) ProtoMessage ¶
func (*Context_Defaults) ProtoMessage()
func (*Context_Defaults) Reset ¶
func (m *Context_Defaults) Reset()
func (*Context_Defaults) String ¶
func (m *Context_Defaults) String() string
func (*Context_Defaults) Validate ¶
func (m *Context_Defaults) Validate() error
Validate checks the field values on Context_Defaults with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Context_Defaults) XXX_DiscardUnknown ¶
func (m *Context_Defaults) XXX_DiscardUnknown()
func (*Context_Defaults) XXX_Marshal ¶
func (m *Context_Defaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Context_Defaults) XXX_Merge ¶
func (m *Context_Defaults) XXX_Merge(src proto.Message)
func (*Context_Defaults) XXX_Size ¶
func (m *Context_Defaults) XXX_Size() int
func (*Context_Defaults) XXX_Unmarshal ¶
func (m *Context_Defaults) XXX_Unmarshal(b []byte) error
type Context_DefaultsValidationError ¶
type Context_DefaultsValidationError struct {
// contains filtered or unexported fields
}
Context_DefaultsValidationError is the validation error returned by Context_Defaults.Validate if the designated constraints aren't met.
func (Context_DefaultsValidationError) Cause ¶
func (e Context_DefaultsValidationError) Cause() error
Cause function returns cause value.
func (Context_DefaultsValidationError) Error ¶
func (e Context_DefaultsValidationError) Error() string
Error satisfies the builtin error interface
func (Context_DefaultsValidationError) ErrorName ¶
func (e Context_DefaultsValidationError) ErrorName() string
ErrorName returns error name.
func (Context_DefaultsValidationError) Field ¶
func (e Context_DefaultsValidationError) Field() string
Field function returns field value.
func (Context_DefaultsValidationError) Key ¶
func (e Context_DefaultsValidationError) Key() bool
Key function returns key value.
func (Context_DefaultsValidationError) Reason ¶
func (e Context_DefaultsValidationError) Reason() string
Reason function returns reason value.
type ControlPlane ¶
type ControlPlane struct { // Name defines a reference name for a given Control Plane. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Coordinates defines coordinates of a given Control Plane. Coordinates *ControlPlaneCoordinates `protobuf:"bytes,2,opt,name=coordinates,proto3" json:"coordinates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ControlPlane defines a Control Plane.
func (*ControlPlane) Descriptor ¶
func (*ControlPlane) Descriptor() ([]byte, []int)
func (*ControlPlane) GetCoordinates ¶
func (m *ControlPlane) GetCoordinates() *ControlPlaneCoordinates
func (*ControlPlane) GetName ¶
func (m *ControlPlane) GetName() string
func (*ControlPlane) ProtoMessage ¶
func (*ControlPlane) ProtoMessage()
func (*ControlPlane) Reset ¶
func (m *ControlPlane) Reset()
func (*ControlPlane) String ¶
func (m *ControlPlane) String() string
func (*ControlPlane) Validate ¶
func (m *ControlPlane) Validate() error
Validate checks the field values on ControlPlane with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ControlPlane) XXX_DiscardUnknown ¶
func (m *ControlPlane) XXX_DiscardUnknown()
func (*ControlPlane) XXX_Marshal ¶
func (m *ControlPlane) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ControlPlane) XXX_Merge ¶
func (m *ControlPlane) XXX_Merge(src proto.Message)
func (*ControlPlane) XXX_Size ¶
func (m *ControlPlane) XXX_Size() int
func (*ControlPlane) XXX_Unmarshal ¶
func (m *ControlPlane) XXX_Unmarshal(b []byte) error
type ControlPlaneCoordinates ¶
type ControlPlaneCoordinates struct { ApiServer *ControlPlaneCoordinates_ApiServer `protobuf:"bytes,1,opt,name=api_server,json=apiServer,proto3" json:"api_server,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ControlPlaneCoordinates defines coordinates of a Control Plane.
func (*ControlPlaneCoordinates) Descriptor ¶
func (*ControlPlaneCoordinates) Descriptor() ([]byte, []int)
func (*ControlPlaneCoordinates) GetApiServer ¶
func (m *ControlPlaneCoordinates) GetApiServer() *ControlPlaneCoordinates_ApiServer
func (*ControlPlaneCoordinates) ProtoMessage ¶
func (*ControlPlaneCoordinates) ProtoMessage()
func (*ControlPlaneCoordinates) Reset ¶
func (m *ControlPlaneCoordinates) Reset()
func (*ControlPlaneCoordinates) String ¶
func (m *ControlPlaneCoordinates) String() string
func (*ControlPlaneCoordinates) Validate ¶
func (m *ControlPlaneCoordinates) Validate() error
Validate checks the field values on ControlPlaneCoordinates with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ControlPlaneCoordinates) XXX_DiscardUnknown ¶
func (m *ControlPlaneCoordinates) XXX_DiscardUnknown()
func (*ControlPlaneCoordinates) XXX_Marshal ¶
func (m *ControlPlaneCoordinates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ControlPlaneCoordinates) XXX_Merge ¶
func (m *ControlPlaneCoordinates) XXX_Merge(src proto.Message)
func (*ControlPlaneCoordinates) XXX_Size ¶
func (m *ControlPlaneCoordinates) XXX_Size() int
func (*ControlPlaneCoordinates) XXX_Unmarshal ¶
func (m *ControlPlaneCoordinates) XXX_Unmarshal(b []byte) error
type ControlPlaneCoordinatesValidationError ¶
type ControlPlaneCoordinatesValidationError struct {
// contains filtered or unexported fields
}
ControlPlaneCoordinatesValidationError is the validation error returned by ControlPlaneCoordinates.Validate if the designated constraints aren't met.
func (ControlPlaneCoordinatesValidationError) Cause ¶
func (e ControlPlaneCoordinatesValidationError) Cause() error
Cause function returns cause value.
func (ControlPlaneCoordinatesValidationError) Error ¶
func (e ControlPlaneCoordinatesValidationError) Error() string
Error satisfies the builtin error interface
func (ControlPlaneCoordinatesValidationError) ErrorName ¶
func (e ControlPlaneCoordinatesValidationError) ErrorName() string
ErrorName returns error name.
func (ControlPlaneCoordinatesValidationError) Field ¶
func (e ControlPlaneCoordinatesValidationError) Field() string
Field function returns field value.
func (ControlPlaneCoordinatesValidationError) Key ¶
func (e ControlPlaneCoordinatesValidationError) Key() bool
Key function returns key value.
func (ControlPlaneCoordinatesValidationError) Reason ¶
func (e ControlPlaneCoordinatesValidationError) Reason() string
Reason function returns reason value.
type ControlPlaneCoordinates_ApiServer ¶
type ControlPlaneCoordinates_ApiServer struct { // URL defines URL of the Control Plane API Server. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ControlPlaneCoordinates_ApiServer) Descriptor ¶
func (*ControlPlaneCoordinates_ApiServer) Descriptor() ([]byte, []int)
func (*ControlPlaneCoordinates_ApiServer) GetUrl ¶
func (m *ControlPlaneCoordinates_ApiServer) GetUrl() string
func (*ControlPlaneCoordinates_ApiServer) ProtoMessage ¶
func (*ControlPlaneCoordinates_ApiServer) ProtoMessage()
func (*ControlPlaneCoordinates_ApiServer) Reset ¶
func (m *ControlPlaneCoordinates_ApiServer) Reset()
func (*ControlPlaneCoordinates_ApiServer) String ¶
func (m *ControlPlaneCoordinates_ApiServer) String() string
func (*ControlPlaneCoordinates_ApiServer) Validate ¶
func (m *ControlPlaneCoordinates_ApiServer) Validate() error
Validate checks the field values on ControlPlaneCoordinates_ApiServer with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ControlPlaneCoordinates_ApiServer) XXX_DiscardUnknown ¶
func (m *ControlPlaneCoordinates_ApiServer) XXX_DiscardUnknown()
func (*ControlPlaneCoordinates_ApiServer) XXX_Marshal ¶
func (m *ControlPlaneCoordinates_ApiServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ControlPlaneCoordinates_ApiServer) XXX_Merge ¶
func (m *ControlPlaneCoordinates_ApiServer) XXX_Merge(src proto.Message)
func (*ControlPlaneCoordinates_ApiServer) XXX_Size ¶
func (m *ControlPlaneCoordinates_ApiServer) XXX_Size() int
func (*ControlPlaneCoordinates_ApiServer) XXX_Unmarshal ¶
func (m *ControlPlaneCoordinates_ApiServer) XXX_Unmarshal(b []byte) error
type ControlPlaneCoordinates_ApiServerValidationError ¶
type ControlPlaneCoordinates_ApiServerValidationError struct {
// contains filtered or unexported fields
}
ControlPlaneCoordinates_ApiServerValidationError is the validation error returned by ControlPlaneCoordinates_ApiServer.Validate if the designated constraints aren't met.
func (ControlPlaneCoordinates_ApiServerValidationError) Cause ¶
func (e ControlPlaneCoordinates_ApiServerValidationError) Cause() error
Cause function returns cause value.
func (ControlPlaneCoordinates_ApiServerValidationError) Error ¶
func (e ControlPlaneCoordinates_ApiServerValidationError) Error() string
Error satisfies the builtin error interface
func (ControlPlaneCoordinates_ApiServerValidationError) ErrorName ¶
func (e ControlPlaneCoordinates_ApiServerValidationError) ErrorName() string
ErrorName returns error name.
func (ControlPlaneCoordinates_ApiServerValidationError) Field ¶
func (e ControlPlaneCoordinates_ApiServerValidationError) Field() string
Field function returns field value.
func (ControlPlaneCoordinates_ApiServerValidationError) Key ¶
func (e ControlPlaneCoordinates_ApiServerValidationError) Key() bool
Key function returns key value.
func (ControlPlaneCoordinates_ApiServerValidationError) Reason ¶
func (e ControlPlaneCoordinates_ApiServerValidationError) Reason() string
Reason function returns reason value.
type ControlPlaneValidationError ¶
type ControlPlaneValidationError struct {
// contains filtered or unexported fields
}
ControlPlaneValidationError is the validation error returned by ControlPlane.Validate if the designated constraints aren't met.
func (ControlPlaneValidationError) Cause ¶
func (e ControlPlaneValidationError) Cause() error
Cause function returns cause value.
func (ControlPlaneValidationError) Error ¶
func (e ControlPlaneValidationError) Error() string
Error satisfies the builtin error interface
func (ControlPlaneValidationError) ErrorName ¶
func (e ControlPlaneValidationError) ErrorName() string
ErrorName returns error name.
func (ControlPlaneValidationError) Field ¶
func (e ControlPlaneValidationError) Field() string
Field function returns field value.
func (ControlPlaneValidationError) Key ¶
func (e ControlPlaneValidationError) Key() bool
Key function returns key value.
func (ControlPlaneValidationError) Reason ¶
func (e ControlPlaneValidationError) Reason() string
Reason function returns reason value.