Documentation ¶
Index ¶
- Variables
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetMount() *VolumeMount
- func (x *Volume) GetName() string
- func (x *Volume) GetSource() *VolumeSource
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
- func (m *Volume) Validate() error
- func (m *Volume) ValidateAll() error
- type VolumeMount
- func (*VolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeMount) GetMountPath() string
- func (x *VolumeMount) GetReadOnly() bool
- func (*VolumeMount) ProtoMessage()
- func (x *VolumeMount) ProtoReflect() protoreflect.Message
- func (x *VolumeMount) Reset()
- func (x *VolumeMount) String() string
- func (m *VolumeMount) Validate() error
- func (m *VolumeMount) ValidateAll() error
- type VolumeMountMultiError
- type VolumeMountValidationError
- func (e VolumeMountValidationError) Cause() error
- func (e VolumeMountValidationError) Error() string
- func (e VolumeMountValidationError) ErrorName() string
- func (e VolumeMountValidationError) Field() string
- func (e VolumeMountValidationError) Key() bool
- func (e VolumeMountValidationError) Reason() string
- type VolumeMultiError
- type VolumeSource
- func (*VolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSource) GetEphemeral() *VolumeSource_EphemeralSource
- func (x *VolumeSource) GetSecret() *VolumeSource_SecretSource
- func (m *VolumeSource) GetSource() isVolumeSource_Source
- func (*VolumeSource) ProtoMessage()
- func (x *VolumeSource) ProtoReflect() protoreflect.Message
- func (x *VolumeSource) Reset()
- func (x *VolumeSource) String() string
- func (m *VolumeSource) Validate() error
- func (m *VolumeSource) ValidateAll() error
- type VolumeSourceMultiError
- type VolumeSourceValidationError
- func (e VolumeSourceValidationError) Cause() error
- func (e VolumeSourceValidationError) Error() string
- func (e VolumeSourceValidationError) ErrorName() string
- func (e VolumeSourceValidationError) Field() string
- func (e VolumeSourceValidationError) Key() bool
- func (e VolumeSourceValidationError) Reason() string
- type VolumeSource_Ephemeral
- type VolumeSource_EphemeralSource
- func (*VolumeSource_EphemeralSource) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSource_EphemeralSource) GetMedium() VolumeSource_EphemeralSource_Medium
- func (*VolumeSource_EphemeralSource) ProtoMessage()
- func (x *VolumeSource_EphemeralSource) ProtoReflect() protoreflect.Message
- func (x *VolumeSource_EphemeralSource) Reset()
- func (x *VolumeSource_EphemeralSource) String() string
- func (m *VolumeSource_EphemeralSource) Validate() error
- func (m *VolumeSource_EphemeralSource) ValidateAll() error
- type VolumeSource_EphemeralSourceMultiError
- type VolumeSource_EphemeralSourceValidationError
- func (e VolumeSource_EphemeralSourceValidationError) Cause() error
- func (e VolumeSource_EphemeralSourceValidationError) Error() string
- func (e VolumeSource_EphemeralSourceValidationError) ErrorName() string
- func (e VolumeSource_EphemeralSourceValidationError) Field() string
- func (e VolumeSource_EphemeralSourceValidationError) Key() bool
- func (e VolumeSource_EphemeralSourceValidationError) Reason() string
- type VolumeSource_EphemeralSource_Medium
- func (VolumeSource_EphemeralSource_Medium) Descriptor() protoreflect.EnumDescriptor
- func (x VolumeSource_EphemeralSource_Medium) Enum() *VolumeSource_EphemeralSource_Medium
- func (VolumeSource_EphemeralSource_Medium) EnumDescriptor() ([]byte, []int)deprecated
- func (x VolumeSource_EphemeralSource_Medium) Number() protoreflect.EnumNumber
- func (x VolumeSource_EphemeralSource_Medium) String() string
- func (VolumeSource_EphemeralSource_Medium) Type() protoreflect.EnumType
- type VolumeSource_Secret
- type VolumeSource_SecretSource
- func (*VolumeSource_SecretSource) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSource_SecretSource) GetSecretName() string
- func (*VolumeSource_SecretSource) ProtoMessage()
- func (x *VolumeSource_SecretSource) ProtoReflect() protoreflect.Message
- func (x *VolumeSource_SecretSource) Reset()
- func (x *VolumeSource_SecretSource) String() string
- func (m *VolumeSource_SecretSource) Validate() error
- func (m *VolumeSource_SecretSource) ValidateAll() error
- type VolumeSource_SecretSourceMultiError
- type VolumeSource_SecretSourceValidationError
- func (e VolumeSource_SecretSourceValidationError) Cause() error
- func (e VolumeSource_SecretSourceValidationError) Error() string
- func (e VolumeSource_SecretSourceValidationError) ErrorName() string
- func (e VolumeSource_SecretSourceValidationError) Field() string
- func (e VolumeSource_SecretSourceValidationError) Key() bool
- func (e VolumeSource_SecretSourceValidationError) Reason() string
- type VolumeValidationError
Constants ¶
This section is empty.
Variables ¶
var ( VolumeSource_EphemeralSource_Medium_name = map[int32]string{ 0: "UNKNOWN", 1: "DEFAULT", 2: "MEMORY", } VolumeSource_EphemeralSource_Medium_value = map[string]int32{ "UNKNOWN": 0, "DEFAULT": 1, "MEMORY": 2, } )
Enum value maps for VolumeSource_EphemeralSource_Medium.
var File_prodvana_volumes_volumes_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Volume ¶
type Volume struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Source *VolumeSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Mount *VolumeMount `protobuf:"bytes,3,opt,name=mount,proto3" json:"mount,omitempty"` // contains filtered or unexported fields }
func (*Volume) Descriptor
deprecated
func (*Volume) GetMount ¶
func (x *Volume) GetMount() *VolumeMount
func (*Volume) GetSource ¶
func (x *Volume) GetSource() *VolumeSource
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
func (*Volume) Validate ¶
Validate checks the field values on Volume 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 (*Volume) ValidateAll ¶
ValidateAll checks the field values on Volume 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 VolumeMultiError, or nil if none found.
type VolumeMount ¶
type VolumeMount struct { MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"` ReadOnly bool `protobuf:"varint,2,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // contains filtered or unexported fields }
func (*VolumeMount) Descriptor
deprecated
func (*VolumeMount) Descriptor() ([]byte, []int)
Deprecated: Use VolumeMount.ProtoReflect.Descriptor instead.
func (*VolumeMount) GetMountPath ¶
func (x *VolumeMount) GetMountPath() string
func (*VolumeMount) GetReadOnly ¶
func (x *VolumeMount) GetReadOnly() bool
func (*VolumeMount) ProtoMessage ¶
func (*VolumeMount) ProtoMessage()
func (*VolumeMount) ProtoReflect ¶
func (x *VolumeMount) ProtoReflect() protoreflect.Message
func (*VolumeMount) Reset ¶
func (x *VolumeMount) Reset()
func (*VolumeMount) String ¶
func (x *VolumeMount) String() string
func (*VolumeMount) Validate ¶
func (m *VolumeMount) Validate() error
Validate checks the field values on VolumeMount 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 (*VolumeMount) ValidateAll ¶
func (m *VolumeMount) ValidateAll() error
ValidateAll checks the field values on VolumeMount 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 VolumeMountMultiError, or nil if none found.
type VolumeMountMultiError ¶
type VolumeMountMultiError []error
VolumeMountMultiError is an error wrapping multiple validation errors returned by VolumeMount.ValidateAll() if the designated constraints aren't met.
func (VolumeMountMultiError) AllErrors ¶
func (m VolumeMountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VolumeMountMultiError) Error ¶
func (m VolumeMountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VolumeMountValidationError ¶
type VolumeMountValidationError struct {
// contains filtered or unexported fields
}
VolumeMountValidationError is the validation error returned by VolumeMount.Validate if the designated constraints aren't met.
func (VolumeMountValidationError) Cause ¶
func (e VolumeMountValidationError) Cause() error
Cause function returns cause value.
func (VolumeMountValidationError) Error ¶
func (e VolumeMountValidationError) Error() string
Error satisfies the builtin error interface
func (VolumeMountValidationError) ErrorName ¶
func (e VolumeMountValidationError) ErrorName() string
ErrorName returns error name.
func (VolumeMountValidationError) Field ¶
func (e VolumeMountValidationError) Field() string
Field function returns field value.
func (VolumeMountValidationError) Key ¶
func (e VolumeMountValidationError) Key() bool
Key function returns key value.
func (VolumeMountValidationError) Reason ¶
func (e VolumeMountValidationError) Reason() string
Reason function returns reason value.
type VolumeMultiError ¶
type VolumeMultiError []error
VolumeMultiError is an error wrapping multiple validation errors returned by Volume.ValidateAll() if the designated constraints aren't met.
func (VolumeMultiError) AllErrors ¶
func (m VolumeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VolumeMultiError) Error ¶
func (m VolumeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VolumeSource ¶
type VolumeSource struct { // Types that are assignable to Source: // // *VolumeSource_Secret // *VolumeSource_Ephemeral Source isVolumeSource_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
func (*VolumeSource) Descriptor
deprecated
func (*VolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSource.ProtoReflect.Descriptor instead.
func (*VolumeSource) GetEphemeral ¶
func (x *VolumeSource) GetEphemeral() *VolumeSource_EphemeralSource
func (*VolumeSource) GetSecret ¶
func (x *VolumeSource) GetSecret() *VolumeSource_SecretSource
func (*VolumeSource) GetSource ¶
func (m *VolumeSource) GetSource() isVolumeSource_Source
func (*VolumeSource) ProtoMessage ¶
func (*VolumeSource) ProtoMessage()
func (*VolumeSource) ProtoReflect ¶
func (x *VolumeSource) ProtoReflect() protoreflect.Message
func (*VolumeSource) Reset ¶
func (x *VolumeSource) Reset()
func (*VolumeSource) String ¶
func (x *VolumeSource) String() string
func (*VolumeSource) Validate ¶
func (m *VolumeSource) Validate() error
Validate checks the field values on VolumeSource 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 (*VolumeSource) ValidateAll ¶
func (m *VolumeSource) ValidateAll() error
ValidateAll checks the field values on VolumeSource 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 VolumeSourceMultiError, or nil if none found.
type VolumeSourceMultiError ¶
type VolumeSourceMultiError []error
VolumeSourceMultiError is an error wrapping multiple validation errors returned by VolumeSource.ValidateAll() if the designated constraints aren't met.
func (VolumeSourceMultiError) AllErrors ¶
func (m VolumeSourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VolumeSourceMultiError) Error ¶
func (m VolumeSourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VolumeSourceValidationError ¶
type VolumeSourceValidationError struct {
// contains filtered or unexported fields
}
VolumeSourceValidationError is the validation error returned by VolumeSource.Validate if the designated constraints aren't met.
func (VolumeSourceValidationError) Cause ¶
func (e VolumeSourceValidationError) Cause() error
Cause function returns cause value.
func (VolumeSourceValidationError) Error ¶
func (e VolumeSourceValidationError) Error() string
Error satisfies the builtin error interface
func (VolumeSourceValidationError) ErrorName ¶
func (e VolumeSourceValidationError) ErrorName() string
ErrorName returns error name.
func (VolumeSourceValidationError) Field ¶
func (e VolumeSourceValidationError) Field() string
Field function returns field value.
func (VolumeSourceValidationError) Key ¶
func (e VolumeSourceValidationError) Key() bool
Key function returns key value.
func (VolumeSourceValidationError) Reason ¶
func (e VolumeSourceValidationError) Reason() string
Reason function returns reason value.
type VolumeSource_Ephemeral ¶
type VolumeSource_Ephemeral struct {
Ephemeral *VolumeSource_EphemeralSource `protobuf:"bytes,2,opt,name=ephemeral,proto3,oneof"`
}
type VolumeSource_EphemeralSource ¶
type VolumeSource_EphemeralSource struct { Medium VolumeSource_EphemeralSource_Medium `protobuf:"varint,1,opt,name=medium,proto3,enum=prodvana.volumes.VolumeSource_EphemeralSource_Medium" json:"medium,omitempty"` // contains filtered or unexported fields }
func (*VolumeSource_EphemeralSource) Descriptor
deprecated
func (*VolumeSource_EphemeralSource) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSource_EphemeralSource.ProtoReflect.Descriptor instead.
func (*VolumeSource_EphemeralSource) GetMedium ¶
func (x *VolumeSource_EphemeralSource) GetMedium() VolumeSource_EphemeralSource_Medium
func (*VolumeSource_EphemeralSource) ProtoMessage ¶
func (*VolumeSource_EphemeralSource) ProtoMessage()
func (*VolumeSource_EphemeralSource) ProtoReflect ¶
func (x *VolumeSource_EphemeralSource) ProtoReflect() protoreflect.Message
func (*VolumeSource_EphemeralSource) Reset ¶
func (x *VolumeSource_EphemeralSource) Reset()
func (*VolumeSource_EphemeralSource) String ¶
func (x *VolumeSource_EphemeralSource) String() string
func (*VolumeSource_EphemeralSource) Validate ¶
func (m *VolumeSource_EphemeralSource) Validate() error
Validate checks the field values on VolumeSource_EphemeralSource 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 (*VolumeSource_EphemeralSource) ValidateAll ¶
func (m *VolumeSource_EphemeralSource) ValidateAll() error
ValidateAll checks the field values on VolumeSource_EphemeralSource 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 VolumeSource_EphemeralSourceMultiError, or nil if none found.
type VolumeSource_EphemeralSourceMultiError ¶
type VolumeSource_EphemeralSourceMultiError []error
VolumeSource_EphemeralSourceMultiError is an error wrapping multiple validation errors returned by VolumeSource_EphemeralSource.ValidateAll() if the designated constraints aren't met.
func (VolumeSource_EphemeralSourceMultiError) AllErrors ¶
func (m VolumeSource_EphemeralSourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VolumeSource_EphemeralSourceMultiError) Error ¶
func (m VolumeSource_EphemeralSourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VolumeSource_EphemeralSourceValidationError ¶
type VolumeSource_EphemeralSourceValidationError struct {
// contains filtered or unexported fields
}
VolumeSource_EphemeralSourceValidationError is the validation error returned by VolumeSource_EphemeralSource.Validate if the designated constraints aren't met.
func (VolumeSource_EphemeralSourceValidationError) Cause ¶
func (e VolumeSource_EphemeralSourceValidationError) Cause() error
Cause function returns cause value.
func (VolumeSource_EphemeralSourceValidationError) Error ¶
func (e VolumeSource_EphemeralSourceValidationError) Error() string
Error satisfies the builtin error interface
func (VolumeSource_EphemeralSourceValidationError) ErrorName ¶
func (e VolumeSource_EphemeralSourceValidationError) ErrorName() string
ErrorName returns error name.
func (VolumeSource_EphemeralSourceValidationError) Field ¶
func (e VolumeSource_EphemeralSourceValidationError) Field() string
Field function returns field value.
func (VolumeSource_EphemeralSourceValidationError) Key ¶
func (e VolumeSource_EphemeralSourceValidationError) Key() bool
Key function returns key value.
func (VolumeSource_EphemeralSourceValidationError) Reason ¶
func (e VolumeSource_EphemeralSourceValidationError) Reason() string
Reason function returns reason value.
type VolumeSource_EphemeralSource_Medium ¶
type VolumeSource_EphemeralSource_Medium int32
const ( VolumeSource_EphemeralSource_UNKNOWN VolumeSource_EphemeralSource_Medium = 0 VolumeSource_EphemeralSource_DEFAULT VolumeSource_EphemeralSource_Medium = 1 // for kubernetes, this the the node's default storage medium VolumeSource_EphemeralSource_MEMORY VolumeSource_EphemeralSource_Medium = 2 )
func (VolumeSource_EphemeralSource_Medium) Descriptor ¶
func (VolumeSource_EphemeralSource_Medium) Descriptor() protoreflect.EnumDescriptor
func (VolumeSource_EphemeralSource_Medium) Enum ¶
func (x VolumeSource_EphemeralSource_Medium) Enum() *VolumeSource_EphemeralSource_Medium
func (VolumeSource_EphemeralSource_Medium) EnumDescriptor
deprecated
func (VolumeSource_EphemeralSource_Medium) EnumDescriptor() ([]byte, []int)
Deprecated: Use VolumeSource_EphemeralSource_Medium.Descriptor instead.
func (VolumeSource_EphemeralSource_Medium) Number ¶
func (x VolumeSource_EphemeralSource_Medium) Number() protoreflect.EnumNumber
func (VolumeSource_EphemeralSource_Medium) String ¶
func (x VolumeSource_EphemeralSource_Medium) String() string
func (VolumeSource_EphemeralSource_Medium) Type ¶
func (VolumeSource_EphemeralSource_Medium) Type() protoreflect.EnumType
type VolumeSource_Secret ¶
type VolumeSource_Secret struct {
Secret *VolumeSource_SecretSource `protobuf:"bytes,1,opt,name=secret,proto3,oneof"`
}
type VolumeSource_SecretSource ¶
type VolumeSource_SecretSource struct { SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"` // contains filtered or unexported fields }
func (*VolumeSource_SecretSource) Descriptor
deprecated
func (*VolumeSource_SecretSource) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSource_SecretSource.ProtoReflect.Descriptor instead.
func (*VolumeSource_SecretSource) GetSecretName ¶
func (x *VolumeSource_SecretSource) GetSecretName() string
func (*VolumeSource_SecretSource) ProtoMessage ¶
func (*VolumeSource_SecretSource) ProtoMessage()
func (*VolumeSource_SecretSource) ProtoReflect ¶
func (x *VolumeSource_SecretSource) ProtoReflect() protoreflect.Message
func (*VolumeSource_SecretSource) Reset ¶
func (x *VolumeSource_SecretSource) Reset()
func (*VolumeSource_SecretSource) String ¶
func (x *VolumeSource_SecretSource) String() string
func (*VolumeSource_SecretSource) Validate ¶
func (m *VolumeSource_SecretSource) Validate() error
Validate checks the field values on VolumeSource_SecretSource 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 (*VolumeSource_SecretSource) ValidateAll ¶
func (m *VolumeSource_SecretSource) ValidateAll() error
ValidateAll checks the field values on VolumeSource_SecretSource 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 VolumeSource_SecretSourceMultiError, or nil if none found.
type VolumeSource_SecretSourceMultiError ¶
type VolumeSource_SecretSourceMultiError []error
VolumeSource_SecretSourceMultiError is an error wrapping multiple validation errors returned by VolumeSource_SecretSource.ValidateAll() if the designated constraints aren't met.
func (VolumeSource_SecretSourceMultiError) AllErrors ¶
func (m VolumeSource_SecretSourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VolumeSource_SecretSourceMultiError) Error ¶
func (m VolumeSource_SecretSourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VolumeSource_SecretSourceValidationError ¶
type VolumeSource_SecretSourceValidationError struct {
// contains filtered or unexported fields
}
VolumeSource_SecretSourceValidationError is the validation error returned by VolumeSource_SecretSource.Validate if the designated constraints aren't met.
func (VolumeSource_SecretSourceValidationError) Cause ¶
func (e VolumeSource_SecretSourceValidationError) Cause() error
Cause function returns cause value.
func (VolumeSource_SecretSourceValidationError) Error ¶
func (e VolumeSource_SecretSourceValidationError) Error() string
Error satisfies the builtin error interface
func (VolumeSource_SecretSourceValidationError) ErrorName ¶
func (e VolumeSource_SecretSourceValidationError) ErrorName() string
ErrorName returns error name.
func (VolumeSource_SecretSourceValidationError) Field ¶
func (e VolumeSource_SecretSourceValidationError) Field() string
Field function returns field value.
func (VolumeSource_SecretSourceValidationError) Key ¶
func (e VolumeSource_SecretSourceValidationError) Key() bool
Key function returns key value.
func (VolumeSource_SecretSourceValidationError) Reason ¶
func (e VolumeSource_SecretSourceValidationError) Reason() string
Reason function returns reason value.
type VolumeValidationError ¶
type VolumeValidationError struct {
// contains filtered or unexported fields
}
VolumeValidationError is the validation error returned by Volume.Validate if the designated constraints aren't met.
func (VolumeValidationError) Cause ¶
func (e VolumeValidationError) Cause() error
Cause function returns cause value.
func (VolumeValidationError) Error ¶
func (e VolumeValidationError) Error() string
Error satisfies the builtin error interface
func (VolumeValidationError) ErrorName ¶
func (e VolumeValidationError) ErrorName() string
ErrorName returns error name.
func (VolumeValidationError) Field ¶
func (e VolumeValidationError) Field() string
Field function returns field value.
func (VolumeValidationError) Key ¶
func (e VolumeValidationError) Key() bool
Key function returns key value.
func (VolumeValidationError) Reason ¶
func (e VolumeValidationError) Reason() string
Reason function returns reason value.