Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{
Group: "gcs.csi.ofek.dev",
Version: "v1beta1",
}
Define your schema name and the version
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type PublishedVolume ¶
type PublishedVolume struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec PublishedVolumeSpec `json:"spec"` }
PublishedVolume is a top-level type
func (*PublishedVolume) DeepCopy ¶
func (in *PublishedVolume) DeepCopy() *PublishedVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishedVolume.
func (*PublishedVolume) DeepCopyInto ¶
func (in *PublishedVolume) DeepCopyInto(out *PublishedVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublishedVolume) DeepCopyObject ¶
func (in *PublishedVolume) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublishedVolumeList ¶
type PublishedVolumeList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `son:"metadata,omitempty"` Items []PublishedVolume `json:"items"` }
func (*PublishedVolumeList) DeepCopy ¶
func (in *PublishedVolumeList) DeepCopy() *PublishedVolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishedVolumeList.
func (*PublishedVolumeList) DeepCopyInto ¶
func (in *PublishedVolumeList) DeepCopyInto(out *PublishedVolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublishedVolumeList) DeepCopyObject ¶
func (in *PublishedVolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublishedVolumeSpec ¶
type PublishedVolumeSpec struct { Node string `json:"node"` TargetPath string `json:"targetPath"` VolumeHandle string `json:"volumeHandle"` Options map[string]string `json:"options"` Pod PublishedVolumeSpecPod `json:"pod"` }
func (*PublishedVolumeSpec) DeepCopy ¶
func (in *PublishedVolumeSpec) DeepCopy() *PublishedVolumeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishedVolumeSpec.
func (*PublishedVolumeSpec) DeepCopyInto ¶
func (in *PublishedVolumeSpec) DeepCopyInto(out *PublishedVolumeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublishedVolumeSpecPod ¶
type PublishedVolumeSpecPod struct { Name string `json:"name"` Namespace string `json:"namespace"` }
func (*PublishedVolumeSpecPod) DeepCopy ¶
func (in *PublishedVolumeSpecPod) DeepCopy() *PublishedVolumeSpecPod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishedVolumeSpecPod.
func (*PublishedVolumeSpecPod) DeepCopyInto ¶
func (in *PublishedVolumeSpecPod) DeepCopyInto(out *PublishedVolumeSpecPod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.