Documentation
¶
Index ¶
Constants ¶
const ( GROUP = "service.grafana.app" VERSION = "v0alpha1" APIVERSION = GROUP + "/" + VERSION )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: GROUP, Version: VERSION} // SchemaBuilder is used by standard codegen SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var ExternalNameResourceInfo = common.NewResourceInfo(GROUP, VERSION, "externalnames", "externalname", "ExternalName", func() runtime.Object { return &ExternalName{} }, func() runtime.Object { return &ExternalNameList{} }, )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
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 ExternalName ¶
type ExternalName struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ExternalNameSpec `json:"spec,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ExternalName) DeepCopy ¶
func (in *ExternalName) DeepCopy() *ExternalName
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalName.
func (*ExternalName) DeepCopyInto ¶
func (in *ExternalName) DeepCopyInto(out *ExternalName)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalName) DeepCopyObject ¶
func (in *ExternalName) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExternalNameList ¶
type ExternalNameList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []ExternalName `json:"items,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ExternalNameList) DeepCopy ¶
func (in *ExternalNameList) DeepCopy() *ExternalNameList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNameList.
func (*ExternalNameList) DeepCopyInto ¶
func (in *ExternalNameList) DeepCopyInto(out *ExternalNameList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalNameList) DeepCopyObject ¶
func (in *ExternalNameList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExternalNameSpec ¶
type ExternalNameSpec struct {
Host string `json:"host,omitempty"`
}
func (*ExternalNameSpec) DeepCopy ¶
func (in *ExternalNameSpec) DeepCopy() *ExternalNameSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNameSpec.
func (*ExternalNameSpec) DeepCopyInto ¶
func (in *ExternalNameSpec) DeepCopyInto(out *ExternalNameSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.