v1alpha1

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=upload.cdi.kubevirt.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder tbd
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme tbd
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: upload.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL