Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_example_ExampleList_To_v1beta1_ExampleList(in *example.ExampleList, out *ExampleList, s conversion.Scope) error
- func Convert_example_ExampleSpec_To_v1beta1_ExampleSpec(in *example.ExampleSpec, out *ExampleSpec, s conversion.Scope) error
- func Convert_example_ExampleStatus_To_v1beta1_ExampleStatus(in *example.ExampleStatus, out *ExampleStatus, s conversion.Scope) error
- func Convert_example_Example_To_v1beta1_Example(in *example.Example, out *Example, s conversion.Scope) error
- func Convert_example_QueryRequestSpec_To_v1beta1_QueryRequestSpec(in *example.QueryRequestSpec, out *QueryRequestSpec, s conversion.Scope) error
- func Convert_example_QueryRequest_To_v1beta1_QueryRequest(in *example.QueryRequest, out *QueryRequest, s conversion.Scope) error
- func Convert_example_QueryResponseSpec_To_v1beta1_QueryResponseSpec(in *example.QueryResponseSpec, out *QueryResponseSpec, s conversion.Scope) error
- func Convert_example_QueryResponse_To_v1beta1_QueryResponse(in *example.QueryResponse, out *QueryResponse, s conversion.Scope) error
- func Convert_example_ResourceCallOptions_To_v1beta1_ResourceCallOptions(in *example.ResourceCallOptions, out *ResourceCallOptions, s conversion.Scope) error
- func Convert_url_Values_To_v1beta1_ResourceCallOptions(in *url.Values, out *ResourceCallOptions, s conversion.Scope) error
- func Convert_v1beta1_ExampleList_To_example_ExampleList(in *ExampleList, out *example.ExampleList, s conversion.Scope) error
- func Convert_v1beta1_ExampleSpec_To_example_ExampleSpec(in *ExampleSpec, out *example.ExampleSpec, s conversion.Scope) error
- func Convert_v1beta1_ExampleStatus_To_example_ExampleStatus(in *ExampleStatus, out *example.ExampleStatus, s conversion.Scope) error
- func Convert_v1beta1_Example_To_example_Example(in *Example, out *example.Example, s conversion.Scope) error
- func Convert_v1beta1_QueryRequestSpec_To_example_QueryRequestSpec(in *QueryRequestSpec, out *example.QueryRequestSpec, s conversion.Scope) error
- func Convert_v1beta1_QueryRequest_To_example_QueryRequest(in *QueryRequest, out *example.QueryRequest, s conversion.Scope) error
- func Convert_v1beta1_QueryResponseSpec_To_example_QueryResponseSpec(in *QueryResponseSpec, out *example.QueryResponseSpec, s conversion.Scope) error
- func Convert_v1beta1_QueryResponse_To_example_QueryResponse(in *QueryResponse, out *example.QueryResponse, s conversion.Scope) error
- func Convert_v1beta1_ResourceCallOptions_To_example_ResourceCallOptions(in *ResourceCallOptions, out *example.ResourceCallOptions, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Example
- type ExampleList
- type ExampleSpec
- type ExampleStatus
- type QueryRequest
- type QueryRequestSpec
- type QueryResponse
- type QueryResponseSpec
- type ResourceCallOptions
Constants ¶
const GroupName = "example.toddtreece.com"
GroupName holds the API group name.
Variables ¶
var ( // SchemeBuilder allows to add this group to a scheme. // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // AddToScheme adds this group to a scheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_example_ExampleList_To_v1beta1_ExampleList ¶
func Convert_example_ExampleList_To_v1beta1_ExampleList(in *example.ExampleList, out *ExampleList, s conversion.Scope) error
Convert_example_ExampleList_To_v1beta1_ExampleList is an autogenerated conversion function.
func Convert_example_ExampleSpec_To_v1beta1_ExampleSpec ¶
func Convert_example_ExampleSpec_To_v1beta1_ExampleSpec(in *example.ExampleSpec, out *ExampleSpec, s conversion.Scope) error
Convert_example_ExampleSpec_To_v1beta1_ExampleSpec is an autogenerated conversion function.
func Convert_example_ExampleStatus_To_v1beta1_ExampleStatus ¶
func Convert_example_ExampleStatus_To_v1beta1_ExampleStatus(in *example.ExampleStatus, out *ExampleStatus, s conversion.Scope) error
Convert_example_ExampleStatus_To_v1beta1_ExampleStatus is an autogenerated conversion function.
func Convert_example_Example_To_v1beta1_Example ¶
func Convert_example_Example_To_v1beta1_Example(in *example.Example, out *Example, s conversion.Scope) error
Convert_example_Example_To_v1beta1_Example is an autogenerated conversion function.
func Convert_example_QueryRequestSpec_To_v1beta1_QueryRequestSpec ¶
func Convert_example_QueryRequestSpec_To_v1beta1_QueryRequestSpec(in *example.QueryRequestSpec, out *QueryRequestSpec, s conversion.Scope) error
Convert_example_QueryRequestSpec_To_v1beta1_QueryRequestSpec is an autogenerated conversion function.
func Convert_example_QueryRequest_To_v1beta1_QueryRequest ¶
func Convert_example_QueryRequest_To_v1beta1_QueryRequest(in *example.QueryRequest, out *QueryRequest, s conversion.Scope) error
Convert_example_QueryRequest_To_v1beta1_QueryRequest is an autogenerated conversion function.
func Convert_example_QueryResponseSpec_To_v1beta1_QueryResponseSpec ¶
func Convert_example_QueryResponseSpec_To_v1beta1_QueryResponseSpec(in *example.QueryResponseSpec, out *QueryResponseSpec, s conversion.Scope) error
Convert_example_QueryResponseSpec_To_v1beta1_QueryResponseSpec is an autogenerated conversion function.
func Convert_example_QueryResponse_To_v1beta1_QueryResponse ¶
func Convert_example_QueryResponse_To_v1beta1_QueryResponse(in *example.QueryResponse, out *QueryResponse, s conversion.Scope) error
Convert_example_QueryResponse_To_v1beta1_QueryResponse is an autogenerated conversion function.
func Convert_example_ResourceCallOptions_To_v1beta1_ResourceCallOptions ¶
func Convert_example_ResourceCallOptions_To_v1beta1_ResourceCallOptions(in *example.ResourceCallOptions, out *ResourceCallOptions, s conversion.Scope) error
Convert_example_ResourceCallOptions_To_v1beta1_ResourceCallOptions is an autogenerated conversion function.
func Convert_url_Values_To_v1beta1_ResourceCallOptions ¶
func Convert_url_Values_To_v1beta1_ResourceCallOptions(in *url.Values, out *ResourceCallOptions, s conversion.Scope) error
Convert_url_Values_To_v1beta1_ResourceCallOptions is an autogenerated conversion function.
func Convert_v1beta1_ExampleList_To_example_ExampleList ¶
func Convert_v1beta1_ExampleList_To_example_ExampleList(in *ExampleList, out *example.ExampleList, s conversion.Scope) error
Convert_v1beta1_ExampleList_To_example_ExampleList is an autogenerated conversion function.
func Convert_v1beta1_ExampleSpec_To_example_ExampleSpec ¶
func Convert_v1beta1_ExampleSpec_To_example_ExampleSpec(in *ExampleSpec, out *example.ExampleSpec, s conversion.Scope) error
Convert_v1beta1_ExampleSpec_To_example_ExampleSpec is an autogenerated conversion function.
func Convert_v1beta1_ExampleStatus_To_example_ExampleStatus ¶
func Convert_v1beta1_ExampleStatus_To_example_ExampleStatus(in *ExampleStatus, out *example.ExampleStatus, s conversion.Scope) error
Convert_v1beta1_ExampleStatus_To_example_ExampleStatus is an autogenerated conversion function.
func Convert_v1beta1_Example_To_example_Example ¶
func Convert_v1beta1_Example_To_example_Example(in *Example, out *example.Example, s conversion.Scope) error
Convert_v1beta1_Example_To_example_Example is an autogenerated conversion function.
func Convert_v1beta1_QueryRequestSpec_To_example_QueryRequestSpec ¶
func Convert_v1beta1_QueryRequestSpec_To_example_QueryRequestSpec(in *QueryRequestSpec, out *example.QueryRequestSpec, s conversion.Scope) error
Convert_v1beta1_QueryRequestSpec_To_example_QueryRequestSpec is an autogenerated conversion function.
func Convert_v1beta1_QueryRequest_To_example_QueryRequest ¶
func Convert_v1beta1_QueryRequest_To_example_QueryRequest(in *QueryRequest, out *example.QueryRequest, s conversion.Scope) error
Convert_v1beta1_QueryRequest_To_example_QueryRequest is an autogenerated conversion function.
func Convert_v1beta1_QueryResponseSpec_To_example_QueryResponseSpec ¶
func Convert_v1beta1_QueryResponseSpec_To_example_QueryResponseSpec(in *QueryResponseSpec, out *example.QueryResponseSpec, s conversion.Scope) error
Convert_v1beta1_QueryResponseSpec_To_example_QueryResponseSpec is an autogenerated conversion function.
func Convert_v1beta1_QueryResponse_To_example_QueryResponse ¶
func Convert_v1beta1_QueryResponse_To_example_QueryResponse(in *QueryResponse, out *example.QueryResponse, s conversion.Scope) error
Convert_v1beta1_QueryResponse_To_example_QueryResponse is an autogenerated conversion function.
func Convert_v1beta1_ResourceCallOptions_To_example_ResourceCallOptions ¶
func Convert_v1beta1_ResourceCallOptions_To_example_ResourceCallOptions(in *ResourceCallOptions, out *example.ResourceCallOptions, s conversion.Scope) error
Convert_v1beta1_ResourceCallOptions_To_example_ResourceCallOptions is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Example ¶
type Example struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ExampleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status ExampleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Example is an example type with a spec and a status.
func (*Example) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Example.
func (*Example) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Example) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExampleList ¶
type ExampleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Example `json:"items" protobuf:"bytes,2,rep,name=items"` }
ExampleList is a list of Example objects.
func (*ExampleList) DeepCopy ¶
func (in *ExampleList) DeepCopy() *ExampleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleList.
func (*ExampleList) DeepCopyInto ¶
func (in *ExampleList) DeepCopyInto(out *ExampleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExampleList) DeepCopyObject ¶
func (in *ExampleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExampleSpec ¶
type ExampleSpec struct { // An example description. Description string `json:"description,omitempty" protobuf:"bytes,1,opt,name=description"` }
ExampleSpec is the specification of a Example.
func (*ExampleSpec) DeepCopy ¶
func (in *ExampleSpec) DeepCopy() *ExampleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*ExampleSpec) DeepCopyInto ¶
func (in *ExampleSpec) DeepCopyInto(out *ExampleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExampleStatus ¶
type ExampleStatus struct { }
ExampleStatus is the status of a Example.
func (*ExampleStatus) DeepCopy ¶
func (in *ExampleStatus) DeepCopy() *ExampleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleStatus.
func (*ExampleStatus) DeepCopyInto ¶
func (in *ExampleStatus) DeepCopyInto(out *ExampleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryRequest ¶
type QueryRequest struct { metav1.TypeMeta `json:",inline"` Spec QueryRequestSpec `json:"spec,omitempty"` }
+k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*QueryRequest) DeepCopy ¶
func (in *QueryRequest) DeepCopy() *QueryRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryRequest.
func (*QueryRequest) DeepCopyInto ¶
func (in *QueryRequest) DeepCopyInto(out *QueryRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QueryRequest) DeepCopyObject ¶
func (in *QueryRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QueryRequestSpec ¶
type QueryRequestSpec struct {
Foo string `json:"foo,omitempty"`
}
func (*QueryRequestSpec) DeepCopy ¶
func (in *QueryRequestSpec) DeepCopy() *QueryRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryRequestSpec.
func (*QueryRequestSpec) DeepCopyInto ¶
func (in *QueryRequestSpec) DeepCopyInto(out *QueryRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryResponse ¶
type QueryResponse struct { metav1.TypeMeta `json:",inline"` Spec QueryResponseSpec `json:"spec,omitempty"` }
+k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*QueryResponse) DeepCopy ¶
func (in *QueryResponse) DeepCopy() *QueryResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryResponse.
func (*QueryResponse) DeepCopyInto ¶
func (in *QueryResponse) DeepCopyInto(out *QueryResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QueryResponse) DeepCopyObject ¶
func (in *QueryResponse) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QueryResponseSpec ¶
type QueryResponseSpec struct {
Bar string `json:"bar,omitempty"`
}
func (*QueryResponseSpec) DeepCopy ¶
func (in *QueryResponseSpec) DeepCopy() *QueryResponseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryResponseSpec.
func (*QueryResponseSpec) DeepCopyInto ¶
func (in *QueryResponseSpec) DeepCopyInto(out *QueryResponseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceCallOptions ¶
type ResourceCallOptions struct { metav1.TypeMeta `json:",inline"` // Path is the URL path // +optional Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"` }
func (*ResourceCallOptions) DeepCopy ¶
func (in *ResourceCallOptions) DeepCopy() *ResourceCallOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceCallOptions.
func (*ResourceCallOptions) DeepCopyInto ¶
func (in *ResourceCallOptions) DeepCopyInto(out *ResourceCallOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceCallOptions) DeepCopyObject ¶
func (in *ResourceCallOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.