Documentation ¶
Overview ¶
+groupName=admiral.submariner.io
© 2020 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
© 2020 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "admiral.submariner.io", Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ExportedToaster ¶
type ExportedToaster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ToasterSpec `json:"spec"` }
func (*ExportedToaster) DeepCopy ¶
func (in *ExportedToaster) DeepCopy() *ExportedToaster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportedToaster.
func (*ExportedToaster) DeepCopyInto ¶
func (in *ExportedToaster) DeepCopyInto(out *ExportedToaster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExportedToaster) DeepCopyObject ¶
func (in *ExportedToaster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExportedToasterList ¶
type ExportedToasterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ExportedToaster `json:"items"` }
func (*ExportedToasterList) DeepCopy ¶
func (in *ExportedToasterList) DeepCopy() *ExportedToasterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportedToasterList.
func (*ExportedToasterList) DeepCopyInto ¶
func (in *ExportedToasterList) DeepCopyInto(out *ExportedToasterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExportedToasterList) DeepCopyObject ¶
func (in *ExportedToasterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Toaster ¶
type Toaster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ToasterSpec `json:"spec"` }
func (*Toaster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Toaster.
func (*Toaster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Toaster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ToasterList ¶
type ToasterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Toaster `json:"items"` }
func (*ToasterList) DeepCopy ¶
func (in *ToasterList) DeepCopy() *ToasterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToasterList.
func (*ToasterList) DeepCopyInto ¶
func (in *ToasterList) DeepCopyInto(out *ToasterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ToasterList) DeepCopyObject ¶
func (in *ToasterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ToasterSpec ¶
type ToasterSpec struct { Manufacturer string `json:"manufacturer"` ModelNumber string `json:"modelNumber"` }
func (*ToasterSpec) DeepCopy ¶
func (in *ToasterSpec) DeepCopy() *ToasterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToasterSpec.
func (*ToasterSpec) DeepCopyInto ¶
func (in *ToasterSpec) DeepCopyInto(out *ToasterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.