Documentation ¶
Overview ¶
Package v2alpha1 is the v2alpha1 version of the API. +groupName=testing.solo.io
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type FrequentlyChangingAnnotationsResource
- func (in *FrequentlyChangingAnnotationsResource) DeepCopy() *FrequentlyChangingAnnotationsResource
- func (in *FrequentlyChangingAnnotationsResource) DeepCopyInto(out *FrequentlyChangingAnnotationsResource)
- func (in *FrequentlyChangingAnnotationsResource) DeepCopyObject() runtime.Object
- func (o *FrequentlyChangingAnnotationsResource) MarshalJSON() ([]byte, error)
- func (o *FrequentlyChangingAnnotationsResource) UnmarshalJSON(data []byte) error
- type FrequentlyChangingAnnotationsResourceList
- func (in *FrequentlyChangingAnnotationsResourceList) DeepCopy() *FrequentlyChangingAnnotationsResourceList
- func (in *FrequentlyChangingAnnotationsResourceList) DeepCopyInto(out *FrequentlyChangingAnnotationsResourceList)
- func (in *FrequentlyChangingAnnotationsResourceList) DeepCopyObject() runtime.Object
- type MockResource
- type MockResourceList
Constants ¶
const (
// Package-wide consts from generator "register".
GroupName = "testing.solo.io"
)
Variables ¶
var ( // Package-wide variables from generator "register". SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v2alpha1"} SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type FrequentlyChangingAnnotationsResource ¶
type FrequentlyChangingAnnotationsResource struct { v1.TypeMeta `json:",inline"` // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the implementation of this definition. // +optional Spec api.FrequentlyChangingAnnotationsResource `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +resourceName=fcars +genclient +genclient:noStatus
func (*FrequentlyChangingAnnotationsResource) DeepCopy ¶
func (in *FrequentlyChangingAnnotationsResource) DeepCopy() *FrequentlyChangingAnnotationsResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrequentlyChangingAnnotationsResource.
func (*FrequentlyChangingAnnotationsResource) DeepCopyInto ¶
func (in *FrequentlyChangingAnnotationsResource) DeepCopyInto(out *FrequentlyChangingAnnotationsResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FrequentlyChangingAnnotationsResource) DeepCopyObject ¶
func (in *FrequentlyChangingAnnotationsResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FrequentlyChangingAnnotationsResource) MarshalJSON ¶
func (o *FrequentlyChangingAnnotationsResource) MarshalJSON() ([]byte, error)
func (*FrequentlyChangingAnnotationsResource) UnmarshalJSON ¶
func (o *FrequentlyChangingAnnotationsResource) UnmarshalJSON(data []byte) error
type FrequentlyChangingAnnotationsResourceList ¶
type FrequentlyChangingAnnotationsResourceList struct { v1.TypeMeta `json:",inline"` // +optional v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []FrequentlyChangingAnnotationsResource `json:"items" protobuf:"bytes,2,rep,name=items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object FrequentlyChangingAnnotationsResourceList is a collection of FrequentlyChangingAnnotationsResources.
func (*FrequentlyChangingAnnotationsResourceList) DeepCopy ¶
func (in *FrequentlyChangingAnnotationsResourceList) DeepCopy() *FrequentlyChangingAnnotationsResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrequentlyChangingAnnotationsResourceList.
func (*FrequentlyChangingAnnotationsResourceList) DeepCopyInto ¶
func (in *FrequentlyChangingAnnotationsResourceList) DeepCopyInto(out *FrequentlyChangingAnnotationsResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FrequentlyChangingAnnotationsResourceList) DeepCopyObject ¶
func (in *FrequentlyChangingAnnotationsResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MockResource ¶
type MockResource struct { v1.TypeMeta `json:",inline"` // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the implementation of this definition. // +optional Spec api.MockResource `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status core.Status `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +resourceName=mocks +genclient
func (*MockResource) DeepCopy ¶
func (in *MockResource) DeepCopy() *MockResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MockResource.
func (*MockResource) DeepCopyInto ¶
func (in *MockResource) DeepCopyInto(out *MockResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MockResource) DeepCopyObject ¶
func (in *MockResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MockResource) MarshalJSON ¶
func (o *MockResource) MarshalJSON() ([]byte, error)
func (*MockResource) UnmarshalJSON ¶
func (o *MockResource) UnmarshalJSON(data []byte) error
type MockResourceList ¶
type MockResourceList struct { v1.TypeMeta `json:",inline"` // +optional v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []MockResource `json:"items" protobuf:"bytes,2,rep,name=items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object MockResourceList is a collection of MockResources.
func (*MockResourceList) DeepCopy ¶
func (in *MockResourceList) DeepCopy() *MockResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MockResourceList.
func (*MockResourceList) DeepCopyInto ¶
func (in *MockResourceList) DeepCopyInto(out *MockResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MockResourceList) DeepCopyObject ¶
func (in *MockResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.