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
- type AcrylicType_Body
- func (AcrylicType_Body) Descriptor() protoreflect.EnumDescriptor
- func (x AcrylicType_Body) Enum() *AcrylicType_Body
- func (AcrylicType_Body) EnumDescriptor() ([]byte, []int)deprecated
- func (x AcrylicType_Body) Number() protoreflect.EnumNumber
- func (x AcrylicType_Body) String() string
- func (AcrylicType_Body) Type() protoreflect.EnumType
- 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)deprecated
- func (x *ClusterResourceSpec) GetImported() *wrappers.StringValue
- func (this *ClusterResourceSpec) MarshalJSON() ([]byte, error)
- func (*ClusterResourceSpec) ProtoMessage()
- func (x *ClusterResourceSpec) ProtoReflect() protoreflect.Message
- func (x *ClusterResourceSpec) Reset()
- func (x *ClusterResourceSpec) String() string
- func (this *ClusterResourceSpec) UnmarshalJSON(b []byte) error
- type ClusterResourceStatusWriter
- type ClusterResourceTransitionFunction
- type ClusterResourceWriter
- type MulticlusterClientset
- type MulticlusterClusterResourceClient
- type MulticlusterPaintClient
- type OilType
- func (*OilType) Descriptor() ([]byte, []int)deprecated
- func (x *OilType) GetFluid() string
- func (m *OilType) GetPigmentType() isOilType_PigmentType
- func (x *OilType) GetPowder() string
- func (x *OilType) GetWaterMixable() bool
- func (*OilType) ProtoMessage()
- func (x *OilType) ProtoReflect() protoreflect.Message
- func (x *OilType) Reset()
- func (x *OilType) String() string
- type OilType_Fluid
- type OilType_Powder
- type Paint
- type PaintClient
- type PaintColor
- type PaintList
- type PaintReader
- type PaintSlice
- type PaintSpec
- func (in *PaintSpec) DeepCopyInto(out *PaintSpec)
- func (*PaintSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PaintSpec) GetAcrylic() *AcrylicType
- func (x *PaintSpec) GetColor() *PaintColor
- func (x *PaintSpec) GetMyFavorite() *any.Any
- func (x *PaintSpec) GetOil() *OilType
- func (m *PaintSpec) GetPaintType() isPaintSpec_PaintType
- func (x *PaintSpec) GetRecursiveType() *PaintSpec_RecursiveType
- func (this *PaintSpec) MarshalJSON() ([]byte, error)
- func (*PaintSpec) ProtoMessage()
- func (x *PaintSpec) ProtoReflect() protoreflect.Message
- func (x *PaintSpec) Reset()
- func (x *PaintSpec) String() string
- func (this *PaintSpec) UnmarshalJSON(b []byte) error
- type PaintSpec_Acrylic
- type PaintSpec_Oil
- type PaintSpec_RecursiveType
- func (*PaintSpec_RecursiveType) Descriptor() ([]byte, []int)deprecated
- func (x *PaintSpec_RecursiveType) GetRecursiveField() *PaintSpec_RecursiveType
- func (x *PaintSpec_RecursiveType) GetRepeatedRecursiveField() []*PaintSpec_RecursiveType
- func (*PaintSpec_RecursiveType) ProtoMessage()
- func (x *PaintSpec_RecursiveType) ProtoReflect() protoreflect.Message
- func (x *PaintSpec_RecursiveType) Reset()
- func (x *PaintSpec_RecursiveType) String() string
- type PaintStatus
- func (in *PaintStatus) DeepCopyInto(out *PaintStatus)
- func (*PaintStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PaintStatus) GetObservedGeneration() int64
- func (x *PaintStatus) GetPercentRemaining() int64
- func (this *PaintStatus) MarshalJSON() ([]byte, error)
- func (*PaintStatus) ProtoMessage()
- func (x *PaintStatus) ProtoReflect() protoreflect.Message
- func (x *PaintStatus) Reset()
- func (x *PaintStatus) String() string
- func (this *PaintStatus) UnmarshalJSON(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", } AcrylicType_Body_value = map[string]int32{ "Light": 0, "Medium": 1, "Heavy": 2, } )
Enum value maps for AcrylicType_Body.
var ClusterResourceGVK = schema.GroupVersionKind{
Group: "things.test.io",
Version: "v1",
Kind: "ClusterResource",
}
GroupVersionKind for ClusterResource
var File_github_com_solo_io_skv2_codegen_test_test_api_proto protoreflect.FileDescriptor
var PaintGVK = schema.GroupVersionKind{
Group: "things.test.io",
Version: "v1",
Kind: "Paint",
}
GroupVersionKind for Paint
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"` // contains filtered or unexported fields }
func (*AcrylicType) Descriptor
deprecated
func (*AcrylicType) Descriptor() ([]byte, []int)
Deprecated: Use AcrylicType.ProtoReflect.Descriptor instead.
func (*AcrylicType) GetBody ¶
func (x *AcrylicType) GetBody() AcrylicType_Body
func (*AcrylicType) ProtoMessage ¶
func (*AcrylicType) ProtoMessage()
func (*AcrylicType) ProtoReflect ¶ added in v0.7.17
func (x *AcrylicType) ProtoReflect() protoreflect.Message
func (*AcrylicType) Reset ¶
func (x *AcrylicType) Reset()
func (*AcrylicType) String ¶
func (x *AcrylicType) String() string
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) Descriptor ¶ added in v0.7.17
func (AcrylicType_Body) Descriptor() protoreflect.EnumDescriptor
func (AcrylicType_Body) Enum ¶ added in v0.7.17
func (x AcrylicType_Body) Enum() *AcrylicType_Body
func (AcrylicType_Body) EnumDescriptor
deprecated
func (AcrylicType_Body) EnumDescriptor() ([]byte, []int)
Deprecated: Use AcrylicType_Body.Descriptor instead.
func (AcrylicType_Body) Number ¶ added in v0.7.17
func (x AcrylicType_Body) Number() protoreflect.EnumNumber
func (AcrylicType_Body) String ¶
func (x AcrylicType_Body) String() string
func (AcrylicType_Body) Type ¶ added in v0.7.17
func (AcrylicType_Body) Type() protoreflect.EnumType
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 *wrappers.StringValue `protobuf:"bytes,1,opt,name=imported,proto3" json:"imported,omitempty"` // contains filtered or unexported fields }
func (*ClusterResourceSpec) DeepCopyInto ¶
func (in *ClusterResourceSpec) DeepCopyInto(out *ClusterResourceSpec)
DeepCopyInto for the ClusterResource.Spec
func (*ClusterResourceSpec) Descriptor
deprecated
func (*ClusterResourceSpec) Descriptor() ([]byte, []int)
Deprecated: Use ClusterResourceSpec.ProtoReflect.Descriptor instead.
func (*ClusterResourceSpec) GetImported ¶ added in v0.7.17
func (x *ClusterResourceSpec) GetImported() *wrappers.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) ProtoReflect ¶ added in v0.7.17
func (x *ClusterResourceSpec) ProtoReflect() protoreflect.Message
func (*ClusterResourceSpec) Reset ¶
func (x *ClusterResourceSpec) Reset()
func (*ClusterResourceSpec) String ¶
func (x *ClusterResourceSpec) String() string
func (*ClusterResourceSpec) UnmarshalJSON ¶
func (this *ClusterResourceSpec) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for ClusterResourceSpec
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 assignable to PigmentType: // *OilType_Powder // *OilType_Fluid PigmentType isOilType_PigmentType `protobuf_oneof:"pigmentType"` // contains filtered or unexported fields }
func (*OilType) Descriptor
deprecated
func (*OilType) GetPigmentType ¶
func (m *OilType) GetPigmentType() isOilType_PigmentType
func (*OilType) GetWaterMixable ¶
func (*OilType) ProtoMessage ¶
func (*OilType) ProtoMessage()
func (*OilType) ProtoReflect ¶ added in v0.7.17
func (x *OilType) ProtoReflect() protoreflect.Message
type OilType_Fluid ¶
type OilType_Fluid struct {
Fluid string `protobuf:"bytes,3,opt,name=fluid,proto3,oneof"`
}
type OilType_Powder ¶
type OilType_Powder struct {
Powder string `protobuf:"bytes,2,opt,name=powder,proto3,oneof"`
}
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"` // contains filtered or unexported fields }
func (*PaintColor) Descriptor
deprecated
func (*PaintColor) Descriptor() ([]byte, []int)
Deprecated: Use PaintColor.ProtoReflect.Descriptor instead.
func (*PaintColor) GetHue ¶
func (x *PaintColor) GetHue() string
func (*PaintColor) GetValue ¶
func (x *PaintColor) GetValue() float32
func (*PaintColor) ProtoMessage ¶
func (*PaintColor) ProtoMessage()
func (*PaintColor) ProtoReflect ¶ added in v0.7.17
func (x *PaintColor) ProtoReflect() protoreflect.Message
func (*PaintColor) Reset ¶
func (x *PaintColor) Reset()
func (*PaintColor) String ¶
func (x *PaintColor) String() string
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 assignable to PaintType: // *PaintSpec_Acrylic // *PaintSpec_Oil PaintType isPaintSpec_PaintType `protobuf_oneof:"paintType"` MyFavorite *any.Any `protobuf:"bytes,4,opt,name=my_favorite,json=myFavorite,proto3" json:"my_favorite,omitempty"` // OpenAPI gen test for recursive fields RecursiveType *PaintSpec_RecursiveType `protobuf:"bytes,5,opt,name=recursive_type,json=recursiveType,proto3" json:"recursive_type,omitempty"` // contains filtered or unexported fields }
func (*PaintSpec) DeepCopyInto ¶
DeepCopyInto for the Paint.Spec
func (*PaintSpec) Descriptor
deprecated
func (*PaintSpec) GetAcrylic ¶
func (x *PaintSpec) GetAcrylic() *AcrylicType
func (*PaintSpec) GetColor ¶
func (x *PaintSpec) GetColor() *PaintColor
func (*PaintSpec) GetMyFavorite ¶ added in v0.7.17
func (*PaintSpec) GetPaintType ¶
func (m *PaintSpec) GetPaintType() isPaintSpec_PaintType
func (*PaintSpec) GetRecursiveType ¶ added in v0.17.21
func (x *PaintSpec) GetRecursiveType() *PaintSpec_RecursiveType
func (*PaintSpec) MarshalJSON ¶
MarshalJSON is a custom marshaler for PaintSpec
func (*PaintSpec) ProtoMessage ¶
func (*PaintSpec) ProtoMessage()
func (*PaintSpec) ProtoReflect ¶ added in v0.7.17
func (x *PaintSpec) ProtoReflect() protoreflect.Message
func (*PaintSpec) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for PaintSpec
type PaintSpec_Acrylic ¶
type PaintSpec_Acrylic struct {
Acrylic *AcrylicType `protobuf:"bytes,2,opt,name=acrylic,proto3,oneof"`
}
type PaintSpec_Oil ¶
type PaintSpec_Oil struct {
Oil *OilType `protobuf:"bytes,3,opt,name=oil,proto3,oneof"`
}
type PaintSpec_RecursiveType ¶ added in v0.17.21
type PaintSpec_RecursiveType struct { RecursiveField *PaintSpec_RecursiveType `protobuf:"bytes,1,opt,name=recursive_field,json=recursiveField,proto3" json:"recursive_field,omitempty"` RepeatedRecursiveField []*PaintSpec_RecursiveType `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
tests OpenAPI schema gen for Recursive types
func (*PaintSpec_RecursiveType) Descriptor
deprecated
added in
v0.17.21
func (*PaintSpec_RecursiveType) Descriptor() ([]byte, []int)
Deprecated: Use PaintSpec_RecursiveType.ProtoReflect.Descriptor instead.
func (*PaintSpec_RecursiveType) GetRecursiveField ¶ added in v0.17.21
func (x *PaintSpec_RecursiveType) GetRecursiveField() *PaintSpec_RecursiveType
func (*PaintSpec_RecursiveType) GetRepeatedRecursiveField ¶ added in v0.17.21
func (x *PaintSpec_RecursiveType) GetRepeatedRecursiveField() []*PaintSpec_RecursiveType
func (*PaintSpec_RecursiveType) ProtoMessage ¶ added in v0.17.21
func (*PaintSpec_RecursiveType) ProtoMessage()
func (*PaintSpec_RecursiveType) ProtoReflect ¶ added in v0.17.21
func (x *PaintSpec_RecursiveType) ProtoReflect() protoreflect.Message
func (*PaintSpec_RecursiveType) Reset ¶ added in v0.17.21
func (x *PaintSpec_RecursiveType) Reset()
func (*PaintSpec_RecursiveType) String ¶ added in v0.17.21
func (x *PaintSpec_RecursiveType) String() string
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"` // contains filtered or unexported fields }
func (*PaintStatus) DeepCopyInto ¶
func (in *PaintStatus) DeepCopyInto(out *PaintStatus)
DeepCopyInto for the Paint.Status
func (*PaintStatus) Descriptor
deprecated
func (*PaintStatus) Descriptor() ([]byte, []int)
Deprecated: Use PaintStatus.ProtoReflect.Descriptor instead.
func (*PaintStatus) GetObservedGeneration ¶
func (x *PaintStatus) GetObservedGeneration() int64
func (*PaintStatus) GetPercentRemaining ¶
func (x *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) ProtoReflect ¶ added in v0.7.17
func (x *PaintStatus) ProtoReflect() protoreflect.Message
func (*PaintStatus) Reset ¶
func (x *PaintStatus) Reset()
func (*PaintStatus) String ¶
func (x *PaintStatus) String() string
func (*PaintStatus) UnmarshalJSON ¶
func (this *PaintStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for PaintStatus
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. |