Documentation ¶
Overview ¶
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-gen-jsonshim. DO NOT EDIT.
Index ¶
- Variables
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInterface() interface{}
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetLocation() string
- func (x *Cluster) GetName() string
- func (x *Cluster) GetNodePools() []*Cluster_NodePool
- func (x *Cluster) GetProject() string
- func (this *Cluster) MarshalJSON() ([]byte, error)
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- func (this *Cluster) UnmarshalJSON(b []byte) error
- func (m *Cluster) Validate() error
- func (m *Cluster) ValidateAll() error
- type ClusterMultiError
- type ClusterValidationError
- type Cluster_NodePool
- func (in *Cluster_NodePool) DeepCopy() *Cluster_NodePool
- func (in *Cluster_NodePool) DeepCopyInterface() interface{}
- func (in *Cluster_NodePool) DeepCopyInto(out *Cluster_NodePool)
- func (*Cluster_NodePool) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_NodePool) GetAutoscaling() *Cluster_NodePool_AutoScaling
- func (x *Cluster_NodePool) GetCurrentSize() int32
- func (x *Cluster_NodePool) GetInitialNodeCount() int32
- func (x *Cluster_NodePool) GetInstanceGroups() []string
- func (x *Cluster_NodePool) GetLocations() []string
- func (x *Cluster_NodePool) GetName() string
- func (x *Cluster_NodePool) GetPreemptible() bool
- func (x *Cluster_NodePool) GetSpot() bool
- func (this *Cluster_NodePool) MarshalJSON() ([]byte, error)
- func (*Cluster_NodePool) ProtoMessage()
- func (x *Cluster_NodePool) ProtoReflect() protoreflect.Message
- func (x *Cluster_NodePool) Reset()
- func (x *Cluster_NodePool) String() string
- func (this *Cluster_NodePool) UnmarshalJSON(b []byte) error
- func (m *Cluster_NodePool) Validate() error
- func (m *Cluster_NodePool) ValidateAll() error
- type Cluster_NodePoolMultiError
- type Cluster_NodePoolValidationError
- func (e Cluster_NodePoolValidationError) Cause() error
- func (e Cluster_NodePoolValidationError) Error() string
- func (e Cluster_NodePoolValidationError) ErrorName() string
- func (e Cluster_NodePoolValidationError) Field() string
- func (e Cluster_NodePoolValidationError) Key() bool
- func (e Cluster_NodePoolValidationError) Reason() string
- type Cluster_NodePool_AutoScaling
- func (in *Cluster_NodePool_AutoScaling) DeepCopy() *Cluster_NodePool_AutoScaling
- func (in *Cluster_NodePool_AutoScaling) DeepCopyInterface() interface{}
- func (in *Cluster_NodePool_AutoScaling) DeepCopyInto(out *Cluster_NodePool_AutoScaling)
- func (*Cluster_NodePool_AutoScaling) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_NodePool_AutoScaling) GetAutoprovisioned() bool
- func (x *Cluster_NodePool_AutoScaling) GetEnabled() bool
- func (x *Cluster_NodePool_AutoScaling) GetLocationPolicy() string
- func (x *Cluster_NodePool_AutoScaling) GetMaxNodeCount() int32
- func (x *Cluster_NodePool_AutoScaling) GetMinNodeCount() int32
- func (x *Cluster_NodePool_AutoScaling) GetTotalMaxNodeCount() int32
- func (x *Cluster_NodePool_AutoScaling) GetTotalMinNodeCount() int32
- func (this *Cluster_NodePool_AutoScaling) MarshalJSON() ([]byte, error)
- func (*Cluster_NodePool_AutoScaling) ProtoMessage()
- func (x *Cluster_NodePool_AutoScaling) ProtoReflect() protoreflect.Message
- func (x *Cluster_NodePool_AutoScaling) Reset()
- func (x *Cluster_NodePool_AutoScaling) String() string
- func (this *Cluster_NodePool_AutoScaling) UnmarshalJSON(b []byte) error
- func (m *Cluster_NodePool_AutoScaling) Validate() error
- func (m *Cluster_NodePool_AutoScaling) ValidateAll() error
- type Cluster_NodePool_AutoScalingMultiError
- type Cluster_NodePool_AutoScalingValidationError
- func (e Cluster_NodePool_AutoScalingValidationError) Cause() error
- func (e Cluster_NodePool_AutoScalingValidationError) Error() string
- func (e Cluster_NodePool_AutoScalingValidationError) ErrorName() string
- func (e Cluster_NodePool_AutoScalingValidationError) Field() string
- func (e Cluster_NodePool_AutoScalingValidationError) Key() bool
- func (e Cluster_NodePool_AutoScalingValidationError) Reason() string
- type Resource
- func (in *Resource) DeepCopy() *Resource
- func (in *Resource) DeepCopyInterface() interface{}
- func (in *Resource) DeepCopyInto(out *Resource)
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetCluster() *Cluster
- func (x *Resource) GetPausedAt() *timestamppb.Timestamp
- func (m *Resource) GetSpecifier() isResource_Specifier
- func (x *Resource) GetSql() *Sql
- func (x *Resource) GetVm() *Vm
- func (this *Resource) MarshalJSON() ([]byte, error)
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- func (this *Resource) UnmarshalJSON(b []byte) error
- func (m *Resource) Validate() error
- func (m *Resource) ValidateAll() error
- type ResourceMultiError
- type ResourceValidationError
- type Resource_Cluster
- type Resource_Sql
- type Resource_Vm
- type Sql
- func (in *Sql) DeepCopy() *Sql
- func (in *Sql) DeepCopyInterface() interface{}
- func (in *Sql) DeepCopyInto(out *Sql)
- func (*Sql) Descriptor() ([]byte, []int)deprecated
- func (x *Sql) GetDatabaseVersion() string
- func (x *Sql) GetGceZone() string
- func (x *Sql) GetName() string
- func (x *Sql) GetProject() string
- func (x *Sql) GetRegion() string
- func (x *Sql) GetState() string
- func (this *Sql) MarshalJSON() ([]byte, error)
- func (*Sql) ProtoMessage()
- func (x *Sql) ProtoReflect() protoreflect.Message
- func (x *Sql) Reset()
- func (x *Sql) String() string
- func (this *Sql) UnmarshalJSON(b []byte) error
- func (m *Sql) Validate() error
- func (m *Sql) ValidateAll() error
- type SqlMultiError
- type SqlValidationError
- type Vm
- func (in *Vm) DeepCopy() *Vm
- func (in *Vm) DeepCopyInterface() interface{}
- func (in *Vm) DeepCopyInto(out *Vm)
- func (*Vm) Descriptor() ([]byte, []int)deprecated
- func (x *Vm) GetName() string
- func (x *Vm) GetProject() string
- func (x *Vm) GetState() string
- func (x *Vm) GetZone() string
- func (this *Vm) MarshalJSON() ([]byte, error)
- func (*Vm) ProtoMessage()
- func (x *Vm) ProtoReflect() protoreflect.Message
- func (x *Vm) Reset()
- func (x *Vm) String() string
- func (this *Vm) UnmarshalJSON(b []byte) error
- func (m *Vm) Validate() error
- func (m *Vm) ValidateAll() error
- type VmMultiError
- type VmValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ResourceMarshaler = &jsonpb.Marshaler{} ResourceUnmarshaler = &jsonpb.Unmarshaler{AllowUnknownFields: true} )
var File_apis_v1_resource_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` NodePools []*Cluster_NodePool `protobuf:"bytes,4,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"` // contains filtered or unexported fields }
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. Required by controller-gen.
func (*Cluster) DeepCopyInterface ¶
func (in *Cluster) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. Required by controller-gen.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto supports using Cluster within kubernetes types, where deepcopy-gen is used.
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetLocation ¶
func (*Cluster) GetNodePools ¶
func (x *Cluster) GetNodePools() []*Cluster_NodePool
func (*Cluster) GetProject ¶
func (*Cluster) MarshalJSON ¶
MarshalJSON is a custom marshaler for Cluster
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Cluster
func (*Cluster) Validate ¶
Validate checks the field values on Cluster 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 (*Cluster) ValidateAll ¶
ValidateAll checks the field values on Cluster 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 ClusterMultiError, or nil if none found.
type ClusterMultiError ¶
type ClusterMultiError []error
ClusterMultiError is an error wrapping multiple validation errors returned by Cluster.ValidateAll() if the designated constraints aren't met.
func (ClusterMultiError) AllErrors ¶
func (m ClusterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterMultiError) Error ¶
func (m ClusterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterValidationError ¶
type ClusterValidationError struct {
// contains filtered or unexported fields
}
ClusterValidationError is the validation error returned by Cluster.Validate if the designated constraints aren't met.
func (ClusterValidationError) Cause ¶
func (e ClusterValidationError) Cause() error
Cause function returns cause value.
func (ClusterValidationError) Error ¶
func (e ClusterValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterValidationError) ErrorName ¶
func (e ClusterValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterValidationError) Field ¶
func (e ClusterValidationError) Field() string
Field function returns field value.
func (ClusterValidationError) Key ¶
func (e ClusterValidationError) Key() bool
Key function returns key value.
func (ClusterValidationError) Reason ¶
func (e ClusterValidationError) Reason() string
Reason function returns reason value.
type Cluster_NodePool ¶
type Cluster_NodePool struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` InstanceGroups []string `protobuf:"bytes,2,rep,name=instance_groups,json=instanceGroups,proto3" json:"instance_groups,omitempty"` Locations []string `protobuf:"bytes,3,rep,name=locations,proto3" json:"locations,omitempty"` InitialNodeCount int32 `protobuf:"varint,4,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"` CurrentSize int32 `protobuf:"varint,5,opt,name=current_size,json=currentSize,proto3" json:"current_size,omitempty"` Autoscaling *Cluster_NodePool_AutoScaling `protobuf:"bytes,6,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` Spot bool `protobuf:"varint,7,opt,name=spot,proto3" json:"spot,omitempty"` Preemptible bool `protobuf:"varint,8,opt,name=preemptible,proto3" json:"preemptible,omitempty"` // contains filtered or unexported fields }
func (*Cluster_NodePool) DeepCopy ¶
func (in *Cluster_NodePool) DeepCopy() *Cluster_NodePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_NodePool. Required by controller-gen.
func (*Cluster_NodePool) DeepCopyInterface ¶
func (in *Cluster_NodePool) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_NodePool. Required by controller-gen.
func (*Cluster_NodePool) DeepCopyInto ¶
func (in *Cluster_NodePool) DeepCopyInto(out *Cluster_NodePool)
DeepCopyInto supports using Cluster_NodePool within kubernetes types, where deepcopy-gen is used.
func (*Cluster_NodePool) Descriptor
deprecated
func (*Cluster_NodePool) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_NodePool.ProtoReflect.Descriptor instead.
func (*Cluster_NodePool) GetAutoscaling ¶
func (x *Cluster_NodePool) GetAutoscaling() *Cluster_NodePool_AutoScaling
func (*Cluster_NodePool) GetCurrentSize ¶
func (x *Cluster_NodePool) GetCurrentSize() int32
func (*Cluster_NodePool) GetInitialNodeCount ¶
func (x *Cluster_NodePool) GetInitialNodeCount() int32
func (*Cluster_NodePool) GetInstanceGroups ¶
func (x *Cluster_NodePool) GetInstanceGroups() []string
func (*Cluster_NodePool) GetLocations ¶
func (x *Cluster_NodePool) GetLocations() []string
func (*Cluster_NodePool) GetName ¶
func (x *Cluster_NodePool) GetName() string
func (*Cluster_NodePool) GetPreemptible ¶
func (x *Cluster_NodePool) GetPreemptible() bool
func (*Cluster_NodePool) GetSpot ¶
func (x *Cluster_NodePool) GetSpot() bool
func (*Cluster_NodePool) MarshalJSON ¶
func (this *Cluster_NodePool) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for Cluster_NodePool
func (*Cluster_NodePool) ProtoMessage ¶
func (*Cluster_NodePool) ProtoMessage()
func (*Cluster_NodePool) ProtoReflect ¶
func (x *Cluster_NodePool) ProtoReflect() protoreflect.Message
func (*Cluster_NodePool) Reset ¶
func (x *Cluster_NodePool) Reset()
func (*Cluster_NodePool) String ¶
func (x *Cluster_NodePool) String() string
func (*Cluster_NodePool) UnmarshalJSON ¶
func (this *Cluster_NodePool) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for Cluster_NodePool
func (*Cluster_NodePool) Validate ¶
func (m *Cluster_NodePool) Validate() error
Validate checks the field values on Cluster_NodePool 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 (*Cluster_NodePool) ValidateAll ¶
func (m *Cluster_NodePool) ValidateAll() error
ValidateAll checks the field values on Cluster_NodePool 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 Cluster_NodePoolMultiError, or nil if none found.
type Cluster_NodePoolMultiError ¶
type Cluster_NodePoolMultiError []error
Cluster_NodePoolMultiError is an error wrapping multiple validation errors returned by Cluster_NodePool.ValidateAll() if the designated constraints aren't met.
func (Cluster_NodePoolMultiError) AllErrors ¶
func (m Cluster_NodePoolMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_NodePoolMultiError) Error ¶
func (m Cluster_NodePoolMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Cluster_NodePoolValidationError ¶
type Cluster_NodePoolValidationError struct {
// contains filtered or unexported fields
}
Cluster_NodePoolValidationError is the validation error returned by Cluster_NodePool.Validate if the designated constraints aren't met.
func (Cluster_NodePoolValidationError) Cause ¶
func (e Cluster_NodePoolValidationError) Cause() error
Cause function returns cause value.
func (Cluster_NodePoolValidationError) Error ¶
func (e Cluster_NodePoolValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_NodePoolValidationError) ErrorName ¶
func (e Cluster_NodePoolValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_NodePoolValidationError) Field ¶
func (e Cluster_NodePoolValidationError) Field() string
Field function returns field value.
func (Cluster_NodePoolValidationError) Key ¶
func (e Cluster_NodePoolValidationError) Key() bool
Key function returns key value.
func (Cluster_NodePoolValidationError) Reason ¶
func (e Cluster_NodePoolValidationError) Reason() string
Reason function returns reason value.
type Cluster_NodePool_AutoScaling ¶
type Cluster_NodePool_AutoScaling struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` MinNodeCount int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"` MaxNodeCount int32 `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"` Autoprovisioned bool `protobuf:"varint,4,opt,name=autoprovisioned,proto3" json:"autoprovisioned,omitempty"` LocationPolicy string `protobuf:"bytes,5,opt,name=location_policy,json=locationPolicy,proto3" json:"location_policy,omitempty"` TotalMinNodeCount int32 `protobuf:"varint,6,opt,name=total_min_node_count,json=totalMinNodeCount,proto3" json:"total_min_node_count,omitempty"` TotalMaxNodeCount int32 `protobuf:"varint,7,opt,name=total_max_node_count,json=totalMaxNodeCount,proto3" json:"total_max_node_count,omitempty"` // contains filtered or unexported fields }
func (*Cluster_NodePool_AutoScaling) DeepCopy ¶
func (in *Cluster_NodePool_AutoScaling) DeepCopy() *Cluster_NodePool_AutoScaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_NodePool_AutoScaling. Required by controller-gen.
func (*Cluster_NodePool_AutoScaling) DeepCopyInterface ¶
func (in *Cluster_NodePool_AutoScaling) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_NodePool_AutoScaling. Required by controller-gen.
func (*Cluster_NodePool_AutoScaling) DeepCopyInto ¶
func (in *Cluster_NodePool_AutoScaling) DeepCopyInto(out *Cluster_NodePool_AutoScaling)
DeepCopyInto supports using Cluster_NodePool_AutoScaling within kubernetes types, where deepcopy-gen is used.
func (*Cluster_NodePool_AutoScaling) Descriptor
deprecated
func (*Cluster_NodePool_AutoScaling) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_NodePool_AutoScaling.ProtoReflect.Descriptor instead.
func (*Cluster_NodePool_AutoScaling) GetAutoprovisioned ¶
func (x *Cluster_NodePool_AutoScaling) GetAutoprovisioned() bool
func (*Cluster_NodePool_AutoScaling) GetEnabled ¶
func (x *Cluster_NodePool_AutoScaling) GetEnabled() bool
func (*Cluster_NodePool_AutoScaling) GetLocationPolicy ¶
func (x *Cluster_NodePool_AutoScaling) GetLocationPolicy() string
func (*Cluster_NodePool_AutoScaling) GetMaxNodeCount ¶
func (x *Cluster_NodePool_AutoScaling) GetMaxNodeCount() int32
func (*Cluster_NodePool_AutoScaling) GetMinNodeCount ¶
func (x *Cluster_NodePool_AutoScaling) GetMinNodeCount() int32
func (*Cluster_NodePool_AutoScaling) GetTotalMaxNodeCount ¶
func (x *Cluster_NodePool_AutoScaling) GetTotalMaxNodeCount() int32
func (*Cluster_NodePool_AutoScaling) GetTotalMinNodeCount ¶
func (x *Cluster_NodePool_AutoScaling) GetTotalMinNodeCount() int32
func (*Cluster_NodePool_AutoScaling) MarshalJSON ¶
func (this *Cluster_NodePool_AutoScaling) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for Cluster_NodePool_AutoScaling
func (*Cluster_NodePool_AutoScaling) ProtoMessage ¶
func (*Cluster_NodePool_AutoScaling) ProtoMessage()
func (*Cluster_NodePool_AutoScaling) ProtoReflect ¶
func (x *Cluster_NodePool_AutoScaling) ProtoReflect() protoreflect.Message
func (*Cluster_NodePool_AutoScaling) Reset ¶
func (x *Cluster_NodePool_AutoScaling) Reset()
func (*Cluster_NodePool_AutoScaling) String ¶
func (x *Cluster_NodePool_AutoScaling) String() string
func (*Cluster_NodePool_AutoScaling) UnmarshalJSON ¶
func (this *Cluster_NodePool_AutoScaling) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for Cluster_NodePool_AutoScaling
func (*Cluster_NodePool_AutoScaling) Validate ¶
func (m *Cluster_NodePool_AutoScaling) Validate() error
Validate checks the field values on Cluster_NodePool_AutoScaling 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 (*Cluster_NodePool_AutoScaling) ValidateAll ¶
func (m *Cluster_NodePool_AutoScaling) ValidateAll() error
ValidateAll checks the field values on Cluster_NodePool_AutoScaling 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 Cluster_NodePool_AutoScalingMultiError, or nil if none found.
type Cluster_NodePool_AutoScalingMultiError ¶
type Cluster_NodePool_AutoScalingMultiError []error
Cluster_NodePool_AutoScalingMultiError is an error wrapping multiple validation errors returned by Cluster_NodePool_AutoScaling.ValidateAll() if the designated constraints aren't met.
func (Cluster_NodePool_AutoScalingMultiError) AllErrors ¶
func (m Cluster_NodePool_AutoScalingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_NodePool_AutoScalingMultiError) Error ¶
func (m Cluster_NodePool_AutoScalingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Cluster_NodePool_AutoScalingValidationError ¶
type Cluster_NodePool_AutoScalingValidationError struct {
// contains filtered or unexported fields
}
Cluster_NodePool_AutoScalingValidationError is the validation error returned by Cluster_NodePool_AutoScaling.Validate if the designated constraints aren't met.
func (Cluster_NodePool_AutoScalingValidationError) Cause ¶
func (e Cluster_NodePool_AutoScalingValidationError) Cause() error
Cause function returns cause value.
func (Cluster_NodePool_AutoScalingValidationError) Error ¶
func (e Cluster_NodePool_AutoScalingValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_NodePool_AutoScalingValidationError) ErrorName ¶
func (e Cluster_NodePool_AutoScalingValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_NodePool_AutoScalingValidationError) Field ¶
func (e Cluster_NodePool_AutoScalingValidationError) Field() string
Field function returns field value.
func (Cluster_NodePool_AutoScalingValidationError) Key ¶
func (e Cluster_NodePool_AutoScalingValidationError) Key() bool
Key function returns key value.
func (Cluster_NodePool_AutoScalingValidationError) Reason ¶
func (e Cluster_NodePool_AutoScalingValidationError) Reason() string
Reason function returns reason value.
type Resource ¶
type Resource struct { // Types that are assignable to Specifier: // // *Resource_Cluster // *Resource_Sql // *Resource_Vm Specifier isResource_Specifier `protobuf_oneof:"specifier"` PausedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=paused_at,json=pausedAt,proto3" json:"paused_at,omitempty"` // contains filtered or unexported fields }
func (*Resource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource. Required by controller-gen.
func (*Resource) DeepCopyInterface ¶
func (in *Resource) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Resource. Required by controller-gen.
func (*Resource) DeepCopyInto ¶
DeepCopyInto supports using Resource within kubernetes types, where deepcopy-gen is used.
func (*Resource) Descriptor
deprecated
func (*Resource) GetCluster ¶
func (*Resource) GetPausedAt ¶
func (x *Resource) GetPausedAt() *timestamppb.Timestamp
func (*Resource) GetSpecifier ¶
func (m *Resource) GetSpecifier() isResource_Specifier
func (*Resource) MarshalJSON ¶
MarshalJSON is a custom marshaler for Resource
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Resource
func (*Resource) Validate ¶
Validate checks the field values on Resource 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 (*Resource) ValidateAll ¶
ValidateAll checks the field values on Resource 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 ResourceMultiError, or nil if none found.
type ResourceMultiError ¶
type ResourceMultiError []error
ResourceMultiError is an error wrapping multiple validation errors returned by Resource.ValidateAll() if the designated constraints aren't met.
func (ResourceMultiError) AllErrors ¶
func (m ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceMultiError) Error ¶
func (m ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceValidationError ¶
type ResourceValidationError struct {
// contains filtered or unexported fields
}
ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.
func (ResourceValidationError) Cause ¶
func (e ResourceValidationError) Cause() error
Cause function returns cause value.
func (ResourceValidationError) Error ¶
func (e ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceValidationError) ErrorName ¶
func (e ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceValidationError) Field ¶
func (e ResourceValidationError) Field() string
Field function returns field value.
func (ResourceValidationError) Key ¶
func (e ResourceValidationError) Key() bool
Key function returns key value.
func (ResourceValidationError) Reason ¶
func (e ResourceValidationError) Reason() string
Reason function returns reason value.
type Resource_Cluster ¶
type Resource_Cluster struct {
Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3,oneof"`
}
type Resource_Sql ¶
type Resource_Sql struct {
Sql *Sql `protobuf:"bytes,2,opt,name=sql,proto3,oneof"`
}
type Resource_Vm ¶
type Resource_Vm struct {
Vm *Vm `protobuf:"bytes,3,opt,name=vm,proto3,oneof"`
}
type Sql ¶
type Sql struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` GceZone string `protobuf:"bytes,4,opt,name=gce_zone,json=gceZone,proto3" json:"gce_zone,omitempty"` State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` DatabaseVersion string `protobuf:"bytes,6,opt,name=database_version,json=databaseVersion,proto3" json:"database_version,omitempty"` // contains filtered or unexported fields }
func (*Sql) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sql. Required by controller-gen.
func (*Sql) DeepCopyInterface ¶
func (in *Sql) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Sql. Required by controller-gen.
func (*Sql) DeepCopyInto ¶
DeepCopyInto supports using Sql within kubernetes types, where deepcopy-gen is used.
func (*Sql) Descriptor
deprecated
func (*Sql) GetDatabaseVersion ¶
func (*Sql) GetGceZone ¶
func (*Sql) GetProject ¶
func (*Sql) MarshalJSON ¶
MarshalJSON is a custom marshaler for Sql
func (*Sql) ProtoMessage ¶
func (*Sql) ProtoMessage()
func (*Sql) ProtoReflect ¶
func (x *Sql) ProtoReflect() protoreflect.Message
func (*Sql) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Sql
func (*Sql) Validate ¶
Validate checks the field values on Sql 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 (*Sql) ValidateAll ¶
ValidateAll checks the field values on Sql 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 SqlMultiError, or nil if none found.
type SqlMultiError ¶
type SqlMultiError []error
SqlMultiError is an error wrapping multiple validation errors returned by Sql.ValidateAll() if the designated constraints aren't met.
func (SqlMultiError) AllErrors ¶
func (m SqlMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SqlMultiError) Error ¶
func (m SqlMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SqlValidationError ¶
type SqlValidationError struct {
// contains filtered or unexported fields
}
SqlValidationError is the validation error returned by Sql.Validate if the designated constraints aren't met.
func (SqlValidationError) Cause ¶
func (e SqlValidationError) Cause() error
Cause function returns cause value.
func (SqlValidationError) Error ¶
func (e SqlValidationError) Error() string
Error satisfies the builtin error interface
func (SqlValidationError) ErrorName ¶
func (e SqlValidationError) ErrorName() string
ErrorName returns error name.
func (SqlValidationError) Field ¶
func (e SqlValidationError) Field() string
Field function returns field value.
func (SqlValidationError) Key ¶
func (e SqlValidationError) Key() bool
Key function returns key value.
func (SqlValidationError) Reason ¶
func (e SqlValidationError) Reason() string
Reason function returns reason value.
type Vm ¶
type Vm struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*Vm) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vm. Required by controller-gen.
func (*Vm) DeepCopyInterface ¶
func (in *Vm) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Vm. Required by controller-gen.
func (*Vm) DeepCopyInto ¶
DeepCopyInto supports using Vm within kubernetes types, where deepcopy-gen is used.
func (*Vm) Descriptor
deprecated
func (*Vm) GetProject ¶
func (*Vm) MarshalJSON ¶
MarshalJSON is a custom marshaler for Vm
func (*Vm) ProtoMessage ¶
func (*Vm) ProtoMessage()
func (*Vm) ProtoReflect ¶
func (x *Vm) ProtoReflect() protoreflect.Message
func (*Vm) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Vm
func (*Vm) Validate ¶
Validate checks the field values on Vm 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 (*Vm) ValidateAll ¶
ValidateAll checks the field values on Vm 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 VmMultiError, or nil if none found.
type VmMultiError ¶
type VmMultiError []error
VmMultiError is an error wrapping multiple validation errors returned by Vm.ValidateAll() if the designated constraints aren't met.
func (VmMultiError) AllErrors ¶
func (m VmMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VmMultiError) Error ¶
func (m VmMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VmValidationError ¶
type VmValidationError struct {
// contains filtered or unexported fields
}
VmValidationError is the validation error returned by Vm.Validate if the designated constraints aren't met.
func (VmValidationError) Cause ¶
func (e VmValidationError) Cause() error
Cause function returns cause value.
func (VmValidationError) Error ¶
func (e VmValidationError) Error() string
Error satisfies the builtin error interface
func (VmValidationError) ErrorName ¶
func (e VmValidationError) ErrorName() string
ErrorName returns error name.
func (VmValidationError) Field ¶
func (e VmValidationError) Field() string
Field function returns field value.
func (VmValidationError) Key ¶
func (e VmValidationError) Key() bool
Key function returns key value.
func (VmValidationError) Reason ¶
func (e VmValidationError) Reason() string
Reason function returns reason value.