Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the API. +groupName=upload.cdi.kubevirt.io
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type UploadTokenRequest
- type UploadTokenRequestList
- type UploadTokenRequestSpec
- type UploadTokenRequestStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder tbd SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme tbd AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: upload.GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type UploadTokenRequest ¶
type UploadTokenRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec contains the parameters of the request Spec UploadTokenRequestSpec `json:"spec"` // Status contains the status of the request Status UploadTokenRequestStatus `json:"status,omitempty"` }
UploadTokenRequest is the CR used to initiate a CDI upload +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*UploadTokenRequest) DeepCopy ¶
func (in *UploadTokenRequest) DeepCopy() *UploadTokenRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UploadTokenRequest.
func (*UploadTokenRequest) DeepCopyInto ¶
func (in *UploadTokenRequest) DeepCopyInto(out *UploadTokenRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UploadTokenRequest) DeepCopyObject ¶
func (in *UploadTokenRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (UploadTokenRequest) SwaggerDoc ¶
func (UploadTokenRequest) SwaggerDoc() map[string]string
type UploadTokenRequestList ¶
type UploadTokenRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items contains a list of UploadTokenRequests Items []UploadTokenRequest `json:"items"` }
UploadTokenRequestList contains a list of UploadTokenRequests +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*UploadTokenRequestList) DeepCopy ¶
func (in *UploadTokenRequestList) DeepCopy() *UploadTokenRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UploadTokenRequestList.
func (*UploadTokenRequestList) DeepCopyInto ¶
func (in *UploadTokenRequestList) DeepCopyInto(out *UploadTokenRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UploadTokenRequestList) DeepCopyObject ¶
func (in *UploadTokenRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (UploadTokenRequestList) SwaggerDoc ¶
func (UploadTokenRequestList) SwaggerDoc() map[string]string
type UploadTokenRequestSpec ¶
type UploadTokenRequestSpec struct { // PvcName is the name of the PVC to upload to PvcName string `json:"pvcName"` }
UploadTokenRequestSpec defines the parameters of the token request
func (*UploadTokenRequestSpec) DeepCopy ¶
func (in *UploadTokenRequestSpec) DeepCopy() *UploadTokenRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UploadTokenRequestSpec.
func (*UploadTokenRequestSpec) DeepCopyInto ¶
func (in *UploadTokenRequestSpec) DeepCopyInto(out *UploadTokenRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (UploadTokenRequestSpec) SwaggerDoc ¶
func (UploadTokenRequestSpec) SwaggerDoc() map[string]string
type UploadTokenRequestStatus ¶
type UploadTokenRequestStatus struct { // Token is a JWT token to be inserted in "Authentication Bearer header" Token string `json:"token,omitempty"` }
UploadTokenRequestStatus stores the status of a token request
func (*UploadTokenRequestStatus) DeepCopy ¶
func (in *UploadTokenRequestStatus) DeepCopy() *UploadTokenRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UploadTokenRequestStatus.
func (*UploadTokenRequestStatus) DeepCopyInto ¶
func (in *UploadTokenRequestStatus) DeepCopyInto(out *UploadTokenRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (UploadTokenRequestStatus) SwaggerDoc ¶
func (UploadTokenRequestStatus) SwaggerDoc() map[string]string