Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=k8s.cni.cncf.io
Index ¶
- Constants
- Variables
- func CreateCRD(clientset apiextcs.Interface) error
- func NewClient(cfg *rest.Config) (*rest.RESTClient, *runtime.Scheme, error)
- func Resource(resource string) schema.GroupResource
- type NetworkAttachmentDefinition
- type NetworkList
- type NetworkNames
- type NetworkSpec
- type NetworkValidation
- type NetworkValidationConfig
- type NetworkValidationProperties
- type NetworkValidationSchema
- type NetworkValidationSpec
- type NetworkValidationSpecProperties
Constants ¶
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: kcom.GroupName, 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 NetworkAttachmentDefinition ¶
type NetworkAttachmentDefinition struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ObjectMeta `json:"metadata"` Spec NetworkSpec `json:"spec"` Args string `json:"args"` Kind string `json:"kind"` }
func (*NetworkAttachmentDefinition) DeepCopy ¶
func (in *NetworkAttachmentDefinition) DeepCopy() *NetworkAttachmentDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAttachmentDefinition.
func (*NetworkAttachmentDefinition) DeepCopyInto ¶
func (in *NetworkAttachmentDefinition) DeepCopyInto(out *NetworkAttachmentDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkAttachmentDefinition) DeepCopyObject ¶
func (in *NetworkAttachmentDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkList ¶
type NetworkList struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ListMeta `json:"metadata"` Items []NetworkAttachmentDefinition `json:"items"` }
func (*NetworkList) DeepCopy ¶
func (in *NetworkList) DeepCopy() *NetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkList.
func (*NetworkList) DeepCopyInto ¶
func (in *NetworkList) DeepCopyInto(out *NetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkList) DeepCopyObject ¶
func (in *NetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNames ¶
type NetworkNames struct { Plural string `json:"networks,omitempty"` Singular string `json:"singular,omitempty"` Kind string `json:"kind,omitempty"` ShortNames []string `json:"shortNames,omitempty"` }
func (*NetworkNames) DeepCopy ¶
func (in *NetworkNames) DeepCopy() *NetworkNames
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNames.
func (*NetworkNames) DeepCopyInto ¶
func (in *NetworkNames) DeepCopyInto(out *NetworkNames)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSpec ¶
type NetworkSpec struct { Group string `json:"group"` Version string `json:"version"` Scope string `json:"scope,omitempty"` Names NetworkNames `json:"names,omitempty"` Config string `json:"config"` Validation NetworkValidation `json:"validation"` }
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkValidation ¶
type NetworkValidation struct {
OpenAPIV3Schema NetworkValidationSchema `json:"openAPIV3Schema"`
}
func (*NetworkValidation) DeepCopy ¶
func (in *NetworkValidation) DeepCopy() *NetworkValidation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkValidation.
func (*NetworkValidation) DeepCopyInto ¶
func (in *NetworkValidation) DeepCopyInto(out *NetworkValidation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkValidationConfig ¶
type NetworkValidationConfig struct {
Type string `json:"type"`
}
func (*NetworkValidationConfig) DeepCopy ¶
func (in *NetworkValidationConfig) DeepCopy() *NetworkValidationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkValidationConfig.
func (*NetworkValidationConfig) DeepCopyInto ¶
func (in *NetworkValidationConfig) DeepCopyInto(out *NetworkValidationConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkValidationProperties ¶
type NetworkValidationProperties struct {
Spec NetworkValidationSpec `json:"spec"`
}
func (*NetworkValidationProperties) DeepCopy ¶
func (in *NetworkValidationProperties) DeepCopy() *NetworkValidationProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkValidationProperties.
func (*NetworkValidationProperties) DeepCopyInto ¶
func (in *NetworkValidationProperties) DeepCopyInto(out *NetworkValidationProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkValidationSchema ¶
type NetworkValidationSchema struct {
Properties NetworkValidationProperties `json:"properties"`
}
func (*NetworkValidationSchema) DeepCopy ¶
func (in *NetworkValidationSchema) DeepCopy() *NetworkValidationSchema
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkValidationSchema.
func (*NetworkValidationSchema) DeepCopyInto ¶
func (in *NetworkValidationSchema) DeepCopyInto(out *NetworkValidationSchema)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkValidationSpec ¶
type NetworkValidationSpec struct {
Properties NetworkValidationSpecProperties `json:"properties"`
}
func (*NetworkValidationSpec) DeepCopy ¶
func (in *NetworkValidationSpec) DeepCopy() *NetworkValidationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkValidationSpec.
func (*NetworkValidationSpec) DeepCopyInto ¶
func (in *NetworkValidationSpec) DeepCopyInto(out *NetworkValidationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkValidationSpecProperties ¶
type NetworkValidationSpecProperties struct {
Config NetworkValidationConfig `json:"config"`
}
func (*NetworkValidationSpecProperties) DeepCopy ¶
func (in *NetworkValidationSpecProperties) DeepCopy() *NetworkValidationSpecProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkValidationSpecProperties.
func (*NetworkValidationSpecProperties) DeepCopyInto ¶
func (in *NetworkValidationSpecProperties) DeepCopyInto(out *NetworkValidationSpecProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.