k8sv1

package
v0.0.0-...-e01fbee Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_resolver_k8s_v1_k8s_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConfigMap

type ConfigMap struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Clientset string `protobuf:"bytes,2,opt,name=clientset,proto3" json:"clientset,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigMap) Descriptor deprecated

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

Deprecated: Use ConfigMap.ProtoReflect.Descriptor instead.

func (*ConfigMap) GetClientset

func (x *ConfigMap) GetClientset() string

func (*ConfigMap) GetName

func (x *ConfigMap) GetName() string

func (*ConfigMap) GetNamespace

func (x *ConfigMap) GetNamespace() string

func (*ConfigMap) ProtoMessage

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) ProtoReflect

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

func (*ConfigMap) Reset

func (x *ConfigMap) Reset()

func (*ConfigMap) String

func (x *ConfigMap) String() string

func (*ConfigMap) Validate

func (m *ConfigMap) Validate() error

Validate checks the field values on ConfigMap with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigMap) ValidateAll

func (m *ConfigMap) ValidateAll() error

ValidateAll checks the field values on ConfigMap with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigMapMultiError, or nil if none found.

type ConfigMapMultiError

type ConfigMapMultiError []error

ConfigMapMultiError is an error wrapping multiple validation errors returned by ConfigMap.ValidateAll() if the designated constraints aren't met.

func (ConfigMapMultiError) AllErrors

func (m ConfigMapMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigMapMultiError) Error

func (m ConfigMapMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConfigMapValidationError

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

ConfigMapValidationError is the validation error returned by ConfigMap.Validate if the designated constraints aren't met.

func (ConfigMapValidationError) Cause

func (e ConfigMapValidationError) Cause() error

Cause function returns cause value.

func (ConfigMapValidationError) Error

func (e ConfigMapValidationError) Error() string

Error satisfies the builtin error interface

func (ConfigMapValidationError) ErrorName

func (e ConfigMapValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigMapValidationError) Field

func (e ConfigMapValidationError) Field() string

Field function returns field value.

func (ConfigMapValidationError) Key

Key function returns key value.

func (ConfigMapValidationError) Reason

func (e ConfigMapValidationError) Reason() string

Reason function returns reason value.

type CronJob

type CronJob struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Clientset string `protobuf:"bytes,2,opt,name=clientset,proto3" json:"clientset,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*CronJob) Descriptor deprecated

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

Deprecated: Use CronJob.ProtoReflect.Descriptor instead.

func (*CronJob) GetClientset

func (x *CronJob) GetClientset() string

func (*CronJob) GetName

func (x *CronJob) GetName() string

func (*CronJob) GetNamespace

func (x *CronJob) GetNamespace() string

func (*CronJob) ProtoMessage

func (*CronJob) ProtoMessage()

func (*CronJob) ProtoReflect

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

func (*CronJob) Reset

func (x *CronJob) Reset()

func (*CronJob) String

func (x *CronJob) String() string

func (*CronJob) Validate

func (m *CronJob) Validate() error

Validate checks the field values on CronJob with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CronJob) ValidateAll

func (m *CronJob) ValidateAll() error

ValidateAll checks the field values on CronJob with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CronJobMultiError, or nil if none found.

type CronJobMultiError

type CronJobMultiError []error

CronJobMultiError is an error wrapping multiple validation errors returned by CronJob.ValidateAll() if the designated constraints aren't met.

func (CronJobMultiError) AllErrors

func (m CronJobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CronJobMultiError) Error

func (m CronJobMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CronJobValidationError

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

CronJobValidationError is the validation error returned by CronJob.Validate if the designated constraints aren't met.

func (CronJobValidationError) Cause

func (e CronJobValidationError) Cause() error

Cause function returns cause value.

func (CronJobValidationError) Error

func (e CronJobValidationError) Error() string

Error satisfies the builtin error interface

func (CronJobValidationError) ErrorName

func (e CronJobValidationError) ErrorName() string

ErrorName returns error name.

func (CronJobValidationError) Field

func (e CronJobValidationError) Field() string

Field function returns field value.

func (CronJobValidationError) Key

func (e CronJobValidationError) Key() bool

Key function returns key value.

func (CronJobValidationError) Reason

func (e CronJobValidationError) Reason() string

Reason function returns reason value.

type Deployment

type Deployment struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Clientset string `protobuf:"bytes,2,opt,name=clientset,proto3" json:"clientset,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Deployment) Descriptor deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetClientset

func (x *Deployment) GetClientset() string

func (*Deployment) GetName

func (x *Deployment) GetName() string

func (*Deployment) GetNamespace

func (x *Deployment) GetNamespace() string

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

func (*Deployment) Validate

func (m *Deployment) Validate() error

Validate checks the field values on Deployment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Deployment) ValidateAll

func (m *Deployment) ValidateAll() error

ValidateAll checks the field values on Deployment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeploymentMultiError, or nil if none found.

type DeploymentMultiError

type DeploymentMultiError []error

DeploymentMultiError is an error wrapping multiple validation errors returned by Deployment.ValidateAll() if the designated constraints aren't met.

func (DeploymentMultiError) AllErrors

func (m DeploymentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeploymentMultiError) Error

func (m DeploymentMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeploymentValidationError

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

DeploymentValidationError is the validation error returned by Deployment.Validate if the designated constraints aren't met.

func (DeploymentValidationError) Cause

func (e DeploymentValidationError) Cause() error

Cause function returns cause value.

func (DeploymentValidationError) Error

Error satisfies the builtin error interface

func (DeploymentValidationError) ErrorName

func (e DeploymentValidationError) ErrorName() string

ErrorName returns error name.

func (DeploymentValidationError) Field

Field function returns field value.

func (DeploymentValidationError) Key

Key function returns key value.

func (DeploymentValidationError) Reason

func (e DeploymentValidationError) Reason() string

Reason function returns reason value.

type HPAName

type HPAName struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Clientset string `protobuf:"bytes,2,opt,name=clientset,proto3" json:"clientset,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*HPAName) Descriptor deprecated

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

Deprecated: Use HPAName.ProtoReflect.Descriptor instead.

func (*HPAName) GetClientset

func (x *HPAName) GetClientset() string

func (*HPAName) GetName

func (x *HPAName) GetName() string

func (*HPAName) GetNamespace

func (x *HPAName) GetNamespace() string

func (*HPAName) ProtoMessage

func (*HPAName) ProtoMessage()

func (*HPAName) ProtoReflect

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

func (*HPAName) Reset

func (x *HPAName) Reset()

func (*HPAName) String

func (x *HPAName) String() string

func (*HPAName) Validate

func (m *HPAName) Validate() error

Validate checks the field values on HPAName with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HPAName) ValidateAll

func (m *HPAName) ValidateAll() error

ValidateAll checks the field values on HPAName with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HPANameMultiError, or nil if none found.

type HPANameMultiError

type HPANameMultiError []error

HPANameMultiError is an error wrapping multiple validation errors returned by HPAName.ValidateAll() if the designated constraints aren't met.

func (HPANameMultiError) AllErrors

func (m HPANameMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HPANameMultiError) Error

func (m HPANameMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HPANameValidationError

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

HPANameValidationError is the validation error returned by HPAName.Validate if the designated constraints aren't met.

func (HPANameValidationError) Cause

func (e HPANameValidationError) Cause() error

Cause function returns cause value.

func (HPANameValidationError) Error

func (e HPANameValidationError) Error() string

Error satisfies the builtin error interface

func (HPANameValidationError) ErrorName

func (e HPANameValidationError) ErrorName() string

ErrorName returns error name.

func (HPANameValidationError) Field

func (e HPANameValidationError) Field() string

Field function returns field value.

func (HPANameValidationError) Key

func (e HPANameValidationError) Key() bool

Key function returns key value.

func (HPANameValidationError) Reason

func (e HPANameValidationError) Reason() string

Reason function returns reason value.

type IPAddress

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

func (*IPAddress) Descriptor deprecated

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

Deprecated: Use IPAddress.ProtoReflect.Descriptor instead.

func (*IPAddress) GetIpAddress

func (x *IPAddress) GetIpAddress() string

func (*IPAddress) ProtoMessage

func (*IPAddress) ProtoMessage()

func (*IPAddress) ProtoReflect

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

func (*IPAddress) Reset

func (x *IPAddress) Reset()

func (*IPAddress) String

func (x *IPAddress) String() string

func (*IPAddress) Validate

func (m *IPAddress) Validate() error

Validate checks the field values on IPAddress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IPAddress) ValidateAll

func (m *IPAddress) ValidateAll() error

ValidateAll checks the field values on IPAddress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IPAddressMultiError, or nil if none found.

type IPAddressMultiError

type IPAddressMultiError []error

IPAddressMultiError is an error wrapping multiple validation errors returned by IPAddress.ValidateAll() if the designated constraints aren't met.

func (IPAddressMultiError) AllErrors

func (m IPAddressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IPAddressMultiError) Error

func (m IPAddressMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type IPAddressValidationError

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

IPAddressValidationError is the validation error returned by IPAddress.Validate if the designated constraints aren't met.

func (IPAddressValidationError) Cause

func (e IPAddressValidationError) Cause() error

Cause function returns cause value.

func (IPAddressValidationError) Error

func (e IPAddressValidationError) Error() string

Error satisfies the builtin error interface

func (IPAddressValidationError) ErrorName

func (e IPAddressValidationError) ErrorName() string

ErrorName returns error name.

func (IPAddressValidationError) Field

func (e IPAddressValidationError) Field() string

Field function returns field value.

func (IPAddressValidationError) Key

Key function returns key value.

func (IPAddressValidationError) Reason

func (e IPAddressValidationError) Reason() string

Reason function returns reason value.

type Job

type Job struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Clientset string `protobuf:"bytes,2,opt,name=clientset,proto3" json:"clientset,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Job) Descriptor deprecated

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetClientset

func (x *Job) GetClientset() string

func (*Job) GetName

func (x *Job) GetName() string

func (*Job) GetNamespace

func (x *Job) GetNamespace() string

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

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

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

func (*Job) Validate

func (m *Job) Validate() error

Validate checks the field values on Job with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Job) ValidateAll

func (m *Job) ValidateAll() error

ValidateAll checks the field values on Job with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JobMultiError, or nil if none found.

type JobMultiError

type JobMultiError []error

JobMultiError is an error wrapping multiple validation errors returned by Job.ValidateAll() if the designated constraints aren't met.

func (JobMultiError) AllErrors

func (m JobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobMultiError) Error

func (m JobMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type JobValidationError

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

JobValidationError is the validation error returned by Job.Validate if the designated constraints aren't met.

func (JobValidationError) Cause

func (e JobValidationError) Cause() error

Cause function returns cause value.

func (JobValidationError) Error

func (e JobValidationError) Error() string

Error satisfies the builtin error interface

func (JobValidationError) ErrorName

func (e JobValidationError) ErrorName() string

ErrorName returns error name.

func (JobValidationError) Field

func (e JobValidationError) Field() string

Field function returns field value.

func (JobValidationError) Key

func (e JobValidationError) Key() bool

Key function returns key value.

func (JobValidationError) Reason

func (e JobValidationError) Reason() string

Reason function returns reason value.

type Namespace

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

func (*Namespace) Descriptor deprecated

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

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetClientset

func (x *Namespace) GetClientset() string

func (*Namespace) GetName

func (x *Namespace) GetName() string

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

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

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

func (x *Namespace) String() string

func (*Namespace) Validate

func (m *Namespace) Validate() error

Validate checks the field values on Namespace with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Namespace) ValidateAll

func (m *Namespace) ValidateAll() error

ValidateAll checks the field values on Namespace with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NamespaceMultiError, or nil if none found.

type NamespaceMultiError

type NamespaceMultiError []error

NamespaceMultiError is an error wrapping multiple validation errors returned by Namespace.ValidateAll() if the designated constraints aren't met.

func (NamespaceMultiError) AllErrors

func (m NamespaceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NamespaceMultiError) Error

func (m NamespaceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NamespaceValidationError

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

NamespaceValidationError is the validation error returned by Namespace.Validate if the designated constraints aren't met.

func (NamespaceValidationError) Cause

func (e NamespaceValidationError) Cause() error

Cause function returns cause value.

func (NamespaceValidationError) Error

func (e NamespaceValidationError) Error() string

Error satisfies the builtin error interface

func (NamespaceValidationError) ErrorName

func (e NamespaceValidationError) ErrorName() string

ErrorName returns error name.

func (NamespaceValidationError) Field

func (e NamespaceValidationError) Field() string

Field function returns field value.

func (NamespaceValidationError) Key

Key function returns key value.

func (NamespaceValidationError) Reason

func (e NamespaceValidationError) Reason() string

Reason function returns reason value.

type Node

type Node struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Cluster   string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	Clientset string `protobuf:"bytes,3,opt,name=clientset,proto3" json:"clientset,omitempty"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetClientset

func (x *Node) GetClientset() string

func (*Node) GetCluster

func (x *Node) GetCluster() string

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

func (*Node) Validate

func (m *Node) Validate() error

Validate checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Node) ValidateAll

func (m *Node) ValidateAll() error

ValidateAll checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeMultiError, or nil if none found.

type NodeMultiError

type NodeMultiError []error

NodeMultiError is an error wrapping multiple validation errors returned by Node.ValidateAll() if the designated constraints aren't met.

func (NodeMultiError) AllErrors

func (m NodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeMultiError) Error

func (m NodeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NodeValidationError

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

NodeValidationError is the validation error returned by Node.Validate if the designated constraints aren't met.

func (NodeValidationError) Cause

func (e NodeValidationError) Cause() error

Cause function returns cause value.

func (NodeValidationError) Error

func (e NodeValidationError) Error() string

Error satisfies the builtin error interface

func (NodeValidationError) ErrorName

func (e NodeValidationError) ErrorName() string

ErrorName returns error name.

func (NodeValidationError) Field

func (e NodeValidationError) Field() string

Field function returns field value.

func (NodeValidationError) Key

func (e NodeValidationError) Key() bool

Key function returns key value.

func (NodeValidationError) Reason

func (e NodeValidationError) Reason() string

Reason function returns reason value.

type PodID

type PodID struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Clientset string `protobuf:"bytes,2,opt,name=clientset,proto3" json:"clientset,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*PodID) Descriptor deprecated

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

Deprecated: Use PodID.ProtoReflect.Descriptor instead.

func (*PodID) GetClientset

func (x *PodID) GetClientset() string

func (*PodID) GetName

func (x *PodID) GetName() string

func (*PodID) GetNamespace

func (x *PodID) GetNamespace() string

func (*PodID) ProtoMessage

func (*PodID) ProtoMessage()

func (*PodID) ProtoReflect

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

func (*PodID) Reset

func (x *PodID) Reset()

func (*PodID) String

func (x *PodID) String() string

func (*PodID) Validate

func (m *PodID) Validate() error

Validate checks the field values on PodID with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PodID) ValidateAll

func (m *PodID) ValidateAll() error

ValidateAll checks the field values on PodID with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PodIDMultiError, or nil if none found.

type PodIDMultiError

type PodIDMultiError []error

PodIDMultiError is an error wrapping multiple validation errors returned by PodID.ValidateAll() if the designated constraints aren't met.

func (PodIDMultiError) AllErrors

func (m PodIDMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PodIDMultiError) Error

func (m PodIDMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PodIDValidationError

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

PodIDValidationError is the validation error returned by PodID.Validate if the designated constraints aren't met.

func (PodIDValidationError) Cause

func (e PodIDValidationError) Cause() error

Cause function returns cause value.

func (PodIDValidationError) Error

func (e PodIDValidationError) Error() string

Error satisfies the builtin error interface

func (PodIDValidationError) ErrorName

func (e PodIDValidationError) ErrorName() string

ErrorName returns error name.

func (PodIDValidationError) Field

func (e PodIDValidationError) Field() string

Field function returns field value.

func (PodIDValidationError) Key

func (e PodIDValidationError) Key() bool

Key function returns key value.

func (PodIDValidationError) Reason

func (e PodIDValidationError) Reason() string

Reason function returns reason value.

type Service

type Service struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Clientset string `protobuf:"bytes,2,opt,name=clientset,proto3" json:"clientset,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetClientset

func (x *Service) GetClientset() string

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetNamespace

func (x *Service) GetNamespace() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

func (*Service) Validate

func (m *Service) Validate() error

Validate checks the field values on Service with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Service) ValidateAll

func (m *Service) ValidateAll() error

ValidateAll checks the field values on Service with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceMultiError, or nil if none found.

type ServiceMultiError

type ServiceMultiError []error

ServiceMultiError is an error wrapping multiple validation errors returned by Service.ValidateAll() if the designated constraints aren't met.

func (ServiceMultiError) AllErrors

func (m ServiceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceMultiError) Error

func (m ServiceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ServiceValidationError

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

ServiceValidationError is the validation error returned by Service.Validate if the designated constraints aren't met.

func (ServiceValidationError) Cause

func (e ServiceValidationError) Cause() error

Cause function returns cause value.

func (ServiceValidationError) Error

func (e ServiceValidationError) Error() string

Error satisfies the builtin error interface

func (ServiceValidationError) ErrorName

func (e ServiceValidationError) ErrorName() string

ErrorName returns error name.

func (ServiceValidationError) Field

func (e ServiceValidationError) Field() string

Field function returns field value.

func (ServiceValidationError) Key

func (e ServiceValidationError) Key() bool

Key function returns key value.

func (ServiceValidationError) Reason

func (e ServiceValidationError) Reason() string

Reason function returns reason value.

type StatefulSet

type StatefulSet struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Clientset string `protobuf:"bytes,2,opt,name=clientset,proto3" json:"clientset,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*StatefulSet) Descriptor deprecated

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

Deprecated: Use StatefulSet.ProtoReflect.Descriptor instead.

func (*StatefulSet) GetClientset

func (x *StatefulSet) GetClientset() string

func (*StatefulSet) GetName

func (x *StatefulSet) GetName() string

func (*StatefulSet) GetNamespace

func (x *StatefulSet) GetNamespace() string

func (*StatefulSet) ProtoMessage

func (*StatefulSet) ProtoMessage()

func (*StatefulSet) ProtoReflect

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

func (*StatefulSet) Reset

func (x *StatefulSet) Reset()

func (*StatefulSet) String

func (x *StatefulSet) String() string

func (*StatefulSet) Validate

func (m *StatefulSet) Validate() error

Validate checks the field values on StatefulSet with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatefulSet) ValidateAll

func (m *StatefulSet) ValidateAll() error

ValidateAll checks the field values on StatefulSet with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatefulSetMultiError, or nil if none found.

type StatefulSetMultiError

type StatefulSetMultiError []error

StatefulSetMultiError is an error wrapping multiple validation errors returned by StatefulSet.ValidateAll() if the designated constraints aren't met.

func (StatefulSetMultiError) AllErrors

func (m StatefulSetMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatefulSetMultiError) Error

func (m StatefulSetMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StatefulSetValidationError

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

StatefulSetValidationError is the validation error returned by StatefulSet.Validate if the designated constraints aren't met.

func (StatefulSetValidationError) Cause

Cause function returns cause value.

func (StatefulSetValidationError) Error

Error satisfies the builtin error interface

func (StatefulSetValidationError) ErrorName

func (e StatefulSetValidationError) ErrorName() string

ErrorName returns error name.

func (StatefulSetValidationError) Field

Field function returns field value.

func (StatefulSetValidationError) Key

Key function returns key value.

func (StatefulSetValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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