Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the things.test.io v1 API group +k8s:deepcopy-gen=package,register +groupName=things.test.io
NOTE: Boilerplate only. Ignore this file. Used to register the Go types with the Kubernetes internal scheme
Definitions for the Kubernetes types ¶
Definitions for the Kubernetes types
Index ¶
- Variables
- func AddToScheme(s *runtime.Scheme) error
- func NewClusterResourceClient(client client.Client) *clusterResourceClient
- func NewPaintClient(client client.Client) *paintClient
- func Resource(resource string) schema.GroupResource
- type AcrylicType
- func (*AcrylicType) Descriptor() ([]byte, []int)
- func (m *AcrylicType) GetBody() AcrylicType_Body
- func (*AcrylicType) ProtoMessage()
- func (m *AcrylicType) Reset()
- func (m *AcrylicType) String() string
- func (m *AcrylicType) XXX_DiscardUnknown()
- func (m *AcrylicType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AcrylicType) XXX_Merge(src proto.Message)
- func (m *AcrylicType) XXX_Size() int
- func (m *AcrylicType) XXX_Unmarshal(b []byte) error
- type AcrylicType_Body
- type Clientset
- type ClusterResource
- type ClusterResourceClient
- type ClusterResourceList
- type ClusterResourceReader
- type ClusterResourceSlice
- type ClusterResourceSpec
- func (in *ClusterResourceSpec) DeepCopyInto(out *ClusterResourceSpec)
- func (*ClusterResourceSpec) Descriptor() ([]byte, []int)
- func (m *ClusterResourceSpec) GetImported() *types.StringValue
- func (this *ClusterResourceSpec) MarshalJSON() ([]byte, error)
- func (*ClusterResourceSpec) ProtoMessage()
- func (m *ClusterResourceSpec) Reset()
- func (m *ClusterResourceSpec) String() string
- func (this *ClusterResourceSpec) UnmarshalJSON(b []byte) error
- func (m *ClusterResourceSpec) XXX_DiscardUnknown()
- func (m *ClusterResourceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterResourceSpec) XXX_Merge(src proto.Message)
- func (m *ClusterResourceSpec) XXX_Size() int
- func (m *ClusterResourceSpec) XXX_Unmarshal(b []byte) error
- type ClusterResourceStatusWriter
- type ClusterResourceTransitionFunction
- type ClusterResourceWriter
- type MulticlusterClientset
- type MulticlusterClusterResourceClient
- type MulticlusterPaintClient
- type OilType
- func (*OilType) Descriptor() ([]byte, []int)
- func (m *OilType) GetFluid() string
- func (m *OilType) GetPigmentType() isOilType_PigmentType
- func (m *OilType) GetPowder() string
- func (m *OilType) GetWaterMixable() bool
- func (*OilType) ProtoMessage()
- func (m *OilType) Reset()
- func (m *OilType) String() string
- func (m *OilType) XXX_DiscardUnknown()
- func (m *OilType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OilType) XXX_Merge(src proto.Message)
- func (*OilType) XXX_OneofWrappers() []interface{}
- func (m *OilType) XXX_Size() int
- func (m *OilType) XXX_Unmarshal(b []byte) error
- type OilType_Fluid
- type OilType_Powder
- type Paint
- type PaintClient
- type PaintColor
- func (*PaintColor) Descriptor() ([]byte, []int)
- func (m *PaintColor) GetHue() string
- func (m *PaintColor) GetValue() float32
- func (*PaintColor) ProtoMessage()
- func (m *PaintColor) Reset()
- func (m *PaintColor) String() string
- func (m *PaintColor) XXX_DiscardUnknown()
- func (m *PaintColor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaintColor) XXX_Merge(src proto.Message)
- func (m *PaintColor) XXX_Size() int
- func (m *PaintColor) XXX_Unmarshal(b []byte) error
- type PaintList
- type PaintReader
- type PaintSlice
- type PaintSpec
- func (in *PaintSpec) DeepCopyInto(out *PaintSpec)
- func (*PaintSpec) Descriptor() ([]byte, []int)
- func (m *PaintSpec) GetAcrylic() *AcrylicType
- func (m *PaintSpec) GetColor() *PaintColor
- func (m *PaintSpec) GetOil() *OilType
- func (m *PaintSpec) GetPaintType() isPaintSpec_PaintType
- func (this *PaintSpec) MarshalJSON() ([]byte, error)
- func (*PaintSpec) ProtoMessage()
- func (m *PaintSpec) Reset()
- func (m *PaintSpec) String() string
- func (this *PaintSpec) UnmarshalJSON(b []byte) error
- func (m *PaintSpec) XXX_DiscardUnknown()
- func (m *PaintSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaintSpec) XXX_Merge(src proto.Message)
- func (*PaintSpec) XXX_OneofWrappers() []interface{}
- func (m *PaintSpec) XXX_Size() int
- func (m *PaintSpec) XXX_Unmarshal(b []byte) error
- type PaintSpec_Acrylic
- type PaintSpec_Oil
- type PaintStatus
- func (in *PaintStatus) DeepCopyInto(out *PaintStatus)
- func (*PaintStatus) Descriptor() ([]byte, []int)
- func (m *PaintStatus) GetObservedGeneration() int64
- func (m *PaintStatus) GetPercentRemaining() int64
- func (this *PaintStatus) MarshalJSON() ([]byte, error)
- func (*PaintStatus) ProtoMessage()
- func (m *PaintStatus) Reset()
- func (m *PaintStatus) String() string
- func (this *PaintStatus) UnmarshalJSON(b []byte) error
- func (m *PaintStatus) XXX_DiscardUnknown()
- func (m *PaintStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaintStatus) XXX_Merge(src proto.Message)
- func (m *PaintStatus) XXX_Size() int
- func (m *PaintStatus) XXX_Unmarshal(b []byte) error
- type PaintStatusWriter
- type PaintTransitionFunction
- type PaintWriter
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "things.test.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var AcrylicType_Body_name = map[int32]string{
0: "Light",
1: "Medium",
2: "Heavy",
}
var AcrylicType_Body_value = map[string]int32{
"Light": 0,
"Medium": 1,
"Heavy": 2,
}
Functions ¶
func AddToScheme ¶
func NewPaintClient ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AcrylicType ¶
type AcrylicType struct { Body AcrylicType_Body `protobuf:"varint,3,opt,name=body,proto3,enum=things.test.io.AcrylicType_Body" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AcrylicType) Descriptor ¶
func (*AcrylicType) Descriptor() ([]byte, []int)
func (*AcrylicType) GetBody ¶
func (m *AcrylicType) GetBody() AcrylicType_Body
func (*AcrylicType) ProtoMessage ¶
func (*AcrylicType) ProtoMessage()
func (*AcrylicType) Reset ¶
func (m *AcrylicType) Reset()
func (*AcrylicType) String ¶
func (m *AcrylicType) String() string
func (*AcrylicType) XXX_DiscardUnknown ¶
func (m *AcrylicType) XXX_DiscardUnknown()
func (*AcrylicType) XXX_Marshal ¶
func (m *AcrylicType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AcrylicType) XXX_Merge ¶
func (m *AcrylicType) XXX_Merge(src proto.Message)
func (*AcrylicType) XXX_Size ¶
func (m *AcrylicType) XXX_Size() int
func (*AcrylicType) XXX_Unmarshal ¶
func (m *AcrylicType) XXX_Unmarshal(b []byte) error
type AcrylicType_Body ¶
type AcrylicType_Body int32
const ( AcrylicType_Light AcrylicType_Body = 0 AcrylicType_Medium AcrylicType_Body = 1 AcrylicType_Heavy AcrylicType_Body = 2 )
func (AcrylicType_Body) EnumDescriptor ¶
func (AcrylicType_Body) EnumDescriptor() ([]byte, []int)
func (AcrylicType_Body) String ¶
func (x AcrylicType_Body) String() string
type Clientset ¶
type Clientset interface { // clienset for the things.test.io/v1/v1 APIs Paints() PaintClient // clienset for the things.test.io/v1/v1 APIs ClusterResources() ClusterResourceClient }
clienset for the things.test.io/v1 APIs
func NewClientset ¶
type ClusterResource ¶
type ClusterResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterResourceSpec `json:"spec,omitempty"` }
ClusterResource is the Schema for the clusterResource API
func (*ClusterResource) DeepCopy ¶
func (in *ClusterResource) DeepCopy() *ClusterResource
func (*ClusterResource) DeepCopyInto ¶
func (in *ClusterResource) DeepCopyInto(out *ClusterResource)
func (*ClusterResource) DeepCopyObject ¶
func (in *ClusterResource) DeepCopyObject() runtime.Object
func (ClusterResource) GVK ¶ added in v0.7.17
func (ClusterResource) GVK() schema.GroupVersionKind
GVK returns the GroupVersionKind associated with the resource type.
type ClusterResourceClient ¶
type ClusterResourceClient interface { ClusterResourceReader ClusterResourceWriter ClusterResourceStatusWriter }
Client knows how to perform CRUD operations on ClusterResources.
type ClusterResourceList ¶
type ClusterResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterResource `json:"items"` }
ClusterResourceList contains a list of ClusterResource
func (*ClusterResourceList) DeepCopy ¶
func (in *ClusterResourceList) DeepCopy() *ClusterResourceList
func (*ClusterResourceList) DeepCopyInto ¶
func (in *ClusterResourceList) DeepCopyInto(out *ClusterResourceList)
func (*ClusterResourceList) DeepCopyObject ¶
func (in *ClusterResourceList) DeepCopyObject() runtime.Object
type ClusterResourceReader ¶
type ClusterResourceReader interface { // Get retrieves a ClusterResource for the given object key GetClusterResource(ctx context.Context, name string) (*ClusterResource, error) // List retrieves list of ClusterResources for a given namespace and list options. ListClusterResource(ctx context.Context, opts ...client.ListOption) (*ClusterResourceList, error) }
Reader knows how to read and list ClusterResources.
type ClusterResourceSlice ¶
type ClusterResourceSlice []*ClusterResource
ClusterResourceSlice represents a slice of *ClusterResource
type ClusterResourceSpec ¶
type ClusterResourceSpec struct { Imported *types.StringValue `protobuf:"bytes,1,opt,name=imported,proto3" json:"imported,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClusterResourceSpec) DeepCopyInto ¶
func (in *ClusterResourceSpec) DeepCopyInto(out *ClusterResourceSpec)
DeepCopyInto for the ClusterResource.Spec
func (*ClusterResourceSpec) Descriptor ¶
func (*ClusterResourceSpec) Descriptor() ([]byte, []int)
func (*ClusterResourceSpec) GetImported ¶ added in v0.7.17
func (m *ClusterResourceSpec) GetImported() *types.StringValue
func (*ClusterResourceSpec) MarshalJSON ¶
func (this *ClusterResourceSpec) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for ClusterResourceSpec
func (*ClusterResourceSpec) ProtoMessage ¶
func (*ClusterResourceSpec) ProtoMessage()
func (*ClusterResourceSpec) Reset ¶
func (m *ClusterResourceSpec) Reset()
func (*ClusterResourceSpec) String ¶
func (m *ClusterResourceSpec) String() string
func (*ClusterResourceSpec) UnmarshalJSON ¶
func (this *ClusterResourceSpec) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ClusterResourceSpec
func (*ClusterResourceSpec) XXX_DiscardUnknown ¶
func (m *ClusterResourceSpec) XXX_DiscardUnknown()
func (*ClusterResourceSpec) XXX_Marshal ¶
func (m *ClusterResourceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterResourceSpec) XXX_Merge ¶
func (m *ClusterResourceSpec) XXX_Merge(src proto.Message)
func (*ClusterResourceSpec) XXX_Size ¶
func (m *ClusterResourceSpec) XXX_Size() int
func (*ClusterResourceSpec) XXX_Unmarshal ¶
func (m *ClusterResourceSpec) XXX_Unmarshal(b []byte) error
type ClusterResourceStatusWriter ¶
type ClusterResourceStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given ClusterResource object. UpdateClusterResourceStatus(ctx context.Context, obj *ClusterResource, opts ...client.UpdateOption) error // Patch patches the given ClusterResource object's subresource. PatchClusterResourceStatus(ctx context.Context, obj *ClusterResource, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a ClusterResource object.
type ClusterResourceTransitionFunction ¶
type ClusterResourceTransitionFunction func(existing, desired *ClusterResource) error
ClusterResourceTransitionFunction instructs the ClusterResourceWriter how to transition between an existing ClusterResource object and a desired on an Upsert
type ClusterResourceWriter ¶
type ClusterResourceWriter interface { // Create saves the ClusterResource object. CreateClusterResource(ctx context.Context, obj *ClusterResource, opts ...client.CreateOption) error // Delete deletes the ClusterResource object. DeleteClusterResource(ctx context.Context, name string, opts ...client.DeleteOption) error // Update updates the given ClusterResource object. UpdateClusterResource(ctx context.Context, obj *ClusterResource, opts ...client.UpdateOption) error // Patch patches the given ClusterResource object. PatchClusterResource(ctx context.Context, obj *ClusterResource, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all ClusterResource objects matching the given options. DeleteAllOfClusterResource(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the ClusterResource object. UpsertClusterResource(ctx context.Context, obj *ClusterResource, transitionFuncs ...ClusterResourceTransitionFunction) error }
Writer knows how to create, delete, and update ClusterResources.
type MulticlusterClientset ¶
type MulticlusterClientset interface { // Cluster returns a Clientset for the given cluster Cluster(cluster string) (Clientset, error) }
MulticlusterClientset for the things.test.io/v1 APIs
func NewMulticlusterClientset ¶
func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset
type MulticlusterClusterResourceClient ¶
type MulticlusterClusterResourceClient interface { // Cluster returns a ClusterResourceClient for the given cluster Cluster(cluster string) (ClusterResourceClient, error) }
Provides ClusterResourceClients for multiple clusters.
func NewMulticlusterClusterResourceClient ¶
func NewMulticlusterClusterResourceClient(client multicluster.Client) MulticlusterClusterResourceClient
type MulticlusterPaintClient ¶
type MulticlusterPaintClient interface { // Cluster returns a PaintClient for the given cluster Cluster(cluster string) (PaintClient, error) }
Provides PaintClients for multiple clusters.
func NewMulticlusterPaintClient ¶
func NewMulticlusterPaintClient(client multicluster.Client) MulticlusterPaintClient
type OilType ¶
type OilType struct { WaterMixable bool `protobuf:"varint,1,opt,name=waterMixable,proto3" json:"waterMixable,omitempty"` // Types that are valid to be assigned to PigmentType: // *OilType_Powder // *OilType_Fluid PigmentType isOilType_PigmentType `protobuf_oneof:"pigmentType"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OilType) Descriptor ¶
func (*OilType) GetPigmentType ¶
func (m *OilType) GetPigmentType() isOilType_PigmentType
func (*OilType) GetWaterMixable ¶
func (*OilType) ProtoMessage ¶
func (*OilType) ProtoMessage()
func (*OilType) XXX_DiscardUnknown ¶
func (m *OilType) XXX_DiscardUnknown()
func (*OilType) XXX_Marshal ¶
func (*OilType) XXX_OneofWrappers ¶
func (*OilType) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*OilType) XXX_Unmarshal ¶
type OilType_Fluid ¶
type OilType_Fluid struct {
Fluid string `protobuf:"bytes,3,opt,name=fluid,proto3,oneof" json:"fluid,omitempty"`
}
type OilType_Powder ¶
type OilType_Powder struct {
Powder string `protobuf:"bytes,2,opt,name=powder,proto3,oneof" json:"powder,omitempty"`
}
type Paint ¶
type Paint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PaintSpec `json:"spec,omitempty"` Status PaintStatus `json:"status,omitempty"` }
Paint is the Schema for the paint API
func (*Paint) DeepCopyInto ¶
func (*Paint) DeepCopyObject ¶
func (Paint) GVK ¶ added in v0.7.17
func (Paint) GVK() schema.GroupVersionKind
GVK returns the GroupVersionKind associated with the resource type.
type PaintClient ¶
type PaintClient interface { PaintReader PaintWriter PaintStatusWriter }
Client knows how to perform CRUD operations on Paints.
type PaintColor ¶
type PaintColor struct { Hue string `protobuf:"bytes,1,opt,name=hue,proto3" json:"hue,omitempty"` Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PaintColor) Descriptor ¶
func (*PaintColor) Descriptor() ([]byte, []int)
func (*PaintColor) GetHue ¶
func (m *PaintColor) GetHue() string
func (*PaintColor) GetValue ¶
func (m *PaintColor) GetValue() float32
func (*PaintColor) ProtoMessage ¶
func (*PaintColor) ProtoMessage()
func (*PaintColor) Reset ¶
func (m *PaintColor) Reset()
func (*PaintColor) String ¶
func (m *PaintColor) String() string
func (*PaintColor) XXX_DiscardUnknown ¶
func (m *PaintColor) XXX_DiscardUnknown()
func (*PaintColor) XXX_Marshal ¶
func (m *PaintColor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaintColor) XXX_Merge ¶
func (m *PaintColor) XXX_Merge(src proto.Message)
func (*PaintColor) XXX_Size ¶
func (m *PaintColor) XXX_Size() int
func (*PaintColor) XXX_Unmarshal ¶
func (m *PaintColor) XXX_Unmarshal(b []byte) error
type PaintList ¶
type PaintList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Paint `json:"items"` }
PaintList contains a list of Paint
func (*PaintList) DeepCopyInto ¶
func (*PaintList) DeepCopyObject ¶
type PaintReader ¶
type PaintReader interface { // Get retrieves a Paint for the given object key GetPaint(ctx context.Context, key client.ObjectKey) (*Paint, error) // List retrieves list of Paints for a given namespace and list options. ListPaint(ctx context.Context, opts ...client.ListOption) (*PaintList, error) }
Reader knows how to read and list Paints.
type PaintSpec ¶
type PaintSpec struct { Color *PaintColor `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` // Types that are valid to be assigned to PaintType: // *PaintSpec_Acrylic // *PaintSpec_Oil PaintType isPaintSpec_PaintType `protobuf_oneof:"paintType"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PaintSpec) DeepCopyInto ¶
DeepCopyInto for the Paint.Spec
func (*PaintSpec) Descriptor ¶
func (*PaintSpec) GetAcrylic ¶
func (m *PaintSpec) GetAcrylic() *AcrylicType
func (*PaintSpec) GetColor ¶
func (m *PaintSpec) GetColor() *PaintColor
func (*PaintSpec) GetPaintType ¶
func (m *PaintSpec) GetPaintType() isPaintSpec_PaintType
func (*PaintSpec) MarshalJSON ¶
MarshalJSON is a custom marshaler for PaintSpec
func (*PaintSpec) ProtoMessage ¶
func (*PaintSpec) ProtoMessage()
func (*PaintSpec) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for PaintSpec
func (*PaintSpec) XXX_DiscardUnknown ¶
func (m *PaintSpec) XXX_DiscardUnknown()
func (*PaintSpec) XXX_Marshal ¶
func (*PaintSpec) XXX_OneofWrappers ¶
func (*PaintSpec) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PaintSpec) XXX_Unmarshal ¶
type PaintSpec_Acrylic ¶
type PaintSpec_Acrylic struct {
Acrylic *AcrylicType `protobuf:"bytes,2,opt,name=acrylic,proto3,oneof" json:"acrylic,omitempty"`
}
type PaintSpec_Oil ¶
type PaintSpec_Oil struct {
Oil *OilType `protobuf:"bytes,3,opt,name=oil,proto3,oneof" json:"oil,omitempty"`
}
type PaintStatus ¶
type PaintStatus struct { ObservedGeneration int64 `protobuf:"varint,1,opt,name=observedGeneration,proto3" json:"observedGeneration,omitempty"` PercentRemaining int64 `protobuf:"varint,2,opt,name=percentRemaining,proto3" json:"percentRemaining,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PaintStatus) DeepCopyInto ¶
func (in *PaintStatus) DeepCopyInto(out *PaintStatus)
DeepCopyInto for the Paint.Status
func (*PaintStatus) Descriptor ¶
func (*PaintStatus) Descriptor() ([]byte, []int)
func (*PaintStatus) GetObservedGeneration ¶
func (m *PaintStatus) GetObservedGeneration() int64
func (*PaintStatus) GetPercentRemaining ¶
func (m *PaintStatus) GetPercentRemaining() int64
func (*PaintStatus) MarshalJSON ¶
func (this *PaintStatus) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for PaintStatus
func (*PaintStatus) ProtoMessage ¶
func (*PaintStatus) ProtoMessage()
func (*PaintStatus) Reset ¶
func (m *PaintStatus) Reset()
func (*PaintStatus) String ¶
func (m *PaintStatus) String() string
func (*PaintStatus) UnmarshalJSON ¶
func (this *PaintStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for PaintStatus
func (*PaintStatus) XXX_DiscardUnknown ¶
func (m *PaintStatus) XXX_DiscardUnknown()
func (*PaintStatus) XXX_Marshal ¶
func (m *PaintStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaintStatus) XXX_Merge ¶
func (m *PaintStatus) XXX_Merge(src proto.Message)
func (*PaintStatus) XXX_Size ¶
func (m *PaintStatus) XXX_Size() int
func (*PaintStatus) XXX_Unmarshal ¶
func (m *PaintStatus) XXX_Unmarshal(b []byte) error
type PaintStatusWriter ¶
type PaintStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given Paint object. UpdatePaintStatus(ctx context.Context, obj *Paint, opts ...client.UpdateOption) error // Patch patches the given Paint object's subresource. PatchPaintStatus(ctx context.Context, obj *Paint, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a Paint object.
type PaintTransitionFunction ¶
PaintTransitionFunction instructs the PaintWriter how to transition between an existing Paint object and a desired on an Upsert
type PaintWriter ¶
type PaintWriter interface { // Create saves the Paint object. CreatePaint(ctx context.Context, obj *Paint, opts ...client.CreateOption) error // Delete deletes the Paint object. DeletePaint(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given Paint object. UpdatePaint(ctx context.Context, obj *Paint, opts ...client.UpdateOption) error // Patch patches the given Paint object. PatchPaint(ctx context.Context, obj *Paint, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all Paint objects matching the given options. DeleteAllOfPaint(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the Paint object. UpsertPaint(ctx context.Context, obj *Paint, transitionFuncs ...PaintTransitionFunction) error }
Writer knows how to create, delete, and update Paints.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers
|
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers |
mocks
Package mock_controller is a generated GoMock package.
|
Package mock_controller is a generated GoMock package. |
Package mock_v1 is a generated GoMock package.
|
Package mock_v1 is a generated GoMock package. |
mocks
Package mock_v1sets is a generated GoMock package.
|
Package mock_v1sets is a generated GoMock package. |