Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the imageregistry v1alpha1 API group. +kubebuilder:object:generate=true +groupName=imageregistry.vmware.com
Index ¶
- Constants
- Variables
- func RegisterTypeWithScheme(object ...runtime.Object)
- func Resource(resource string) schema.GroupResource
- type CertVerificationStatus
- type CertificateVerificationInfo
- type Checksum
- type ClusterContentLibrary
- func (in *ClusterContentLibrary) DeepCopy() *ClusterContentLibrary
- func (in *ClusterContentLibrary) DeepCopyInto(out *ClusterContentLibrary)
- func (in *ClusterContentLibrary) DeepCopyObject() runtime.Object
- func (ccl *ClusterContentLibrary) GetConditions() Conditions
- func (ccl *ClusterContentLibrary) SetConditions(conditions Conditions)
- type ClusterContentLibraryItem
- func (in *ClusterContentLibraryItem) DeepCopy() *ClusterContentLibraryItem
- func (in *ClusterContentLibraryItem) DeepCopyInto(out *ClusterContentLibraryItem)
- func (in *ClusterContentLibraryItem) DeepCopyObject() runtime.Object
- func (cclItem *ClusterContentLibraryItem) GetConditions() Conditions
- func (cclItem *ClusterContentLibraryItem) SetConditions(conditions Conditions)
- type ClusterContentLibraryItemList
- type ClusterContentLibraryList
- type ClusterContentLibrarySpec
- type Condition
- type ConditionSeverity
- type ConditionType
- type Conditions
- type ContentLibrary
- func (in *ContentLibrary) DeepCopy() *ContentLibrary
- func (in *ContentLibrary) DeepCopyInto(out *ContentLibrary)
- func (in *ContentLibrary) DeepCopyObject() runtime.Object
- func (contentLibrary *ContentLibrary) GetConditions() Conditions
- func (contentLibrary *ContentLibrary) SetConditions(conditions Conditions)
- type ContentLibraryItem
- func (in *ContentLibraryItem) DeepCopy() *ContentLibraryItem
- func (in *ContentLibraryItem) DeepCopyInto(out *ContentLibraryItem)
- func (in *ContentLibraryItem) DeepCopyObject() runtime.Object
- func (contentLibraryItem *ContentLibraryItem) GetConditions() Conditions
- func (contentLibraryItem *ContentLibraryItem) SetConditions(conditions Conditions)
- type ContentLibraryItemFileUploadStatus
- type ContentLibraryItemImportRequest
- func (in *ContentLibraryItemImportRequest) DeepCopy() *ContentLibraryItemImportRequest
- func (in *ContentLibraryItemImportRequest) DeepCopyInto(out *ContentLibraryItemImportRequest)
- func (in *ContentLibraryItemImportRequest) DeepCopyObject() runtime.Object
- func (clItemImportRequest *ContentLibraryItemImportRequest) GetConditions() Conditions
- func (clItemImportRequest *ContentLibraryItemImportRequest) SetConditions(conditions Conditions)
- type ContentLibraryItemImportRequestList
- type ContentLibraryItemImportRequestSource
- type ContentLibraryItemImportRequestSpec
- type ContentLibraryItemImportRequestStatus
- type ContentLibraryItemImportRequestTarget
- type ContentLibraryItemImportRequestTargetItem
- type ContentLibraryItemList
- type ContentLibraryItemSpec
- type ContentLibraryItemStatus
- type ContentLibraryItemType
- type ContentLibraryList
- type ContentLibrarySpec
- type ContentLibraryStatus
- type ContentLibraryType
- type FileInfo
- type FileTransferStatus
- type LocalObjectRef
- type NameAndKindRef
- type PublishInfo
- type ResourceNamingStrategy
- type State
- type StateInfo
- type StorageBacking
- type StorageBackingType
- type SubscriptionInfo
- type TransferStatus
Constants ¶
const ( // DeletingReason (Severity=Info) documents a condition not in Status=True because the object is currently being deleted. DeletingReason = "Deleting" // DeletedReason (Severity=Error) documents a condition not in Status=True because the underlying object was deleted. DeletedReason = "Deleted" )
Common Condition.Reason used by Image Registry Operator API objects.
const ( ClusterContentLibraryRefValidationFailedReason = "ClusterContentLibraryRefValidationFailed" ContentLibraryRefValidationFailedReason = "ContentLibraryRefValidationFailed" )
Condition.Reasons related to ClusterContentLibraryItem or ContentLibraryItem API objects.
const ( // SourceURLInvalidReason documents that the source URL specified in the ContentLibraryItemImportRequest is invalid. SourceURLInvalidReason = "SourceURLInvalid" // SourceURLSchemeInvalidReason documents that the scheme in the source URL specified in the // ContentLibraryItemImportRequest is invalid. SourceURLSchemeInvalidReason = "SourceURLSchemeInvalid" // SourceURLHostInvalidReason documents that the host in the source URL specified in the // ContentLibraryItemImportRequest is invalid. SourceURLHostInvalidReason = "SourceURLHostInvalid" // SourceSSLCertificateUntrustedReason documents that the SSL certificate served at the source URL is not trusted by vSphere. SourceSSLCertificateUntrustedReason = "SourceSSLCertificateUntrusted" // TargetLibraryInvalidReason documents that the target ContentLibrary specified in the // ContentLibraryItemImportRequest is invalid. TargetLibraryInvalidReason = "TargetLibraryInvalid" // TargetLibraryItemInvalidReason documents that the specified target content library item in the // ContentLibraryItemImportRequest is invalid. TargetLibraryItemInvalidReason = "TargetLibraryItemInvalid" // TargetLibraryItemCreationFailureReason documents that the creation of the target ContentLibraryItem has failed. TargetLibraryItemCreationFailureReason = "TargetLibraryItemCreationFailure" // namespace yet. TargetLibraryItemUnavailableReason = "TargetLibraryItemUnavailable" // UploadInProgressReason documents that the files are in progress being uploaded to the target ContentLibraryItem. UploadInProgressReason = "UploadInProgress" // UploadFailureReason documents that uploading files to the target content library item has failed. UploadFailureReason = "UploadFailure" // UploadSessionExpiredReason documents that the uploading session for this ContentLibraryItemImportRequest has expired. UploadSessionExpiredReason = "UploadSessionExpired" // TargetLibraryItemNotReadyReason documents that the target ContentLibraryItem resource is not in ready status yet. TargetLibraryItemNotReadyReason = "TargetLibraryItemNotReady" )
Condition.Reasons related to ContentLibraryItemImportRequest API objects.
const ( // ContentLibraryItemTypeOvf indicates an OVF content library item in vCenter. ContentLibraryItemTypeOvf ContentLibraryItemType = "OVF" // ContentLibraryItemTypeIso indicates an ISO content library item in vCenter. ContentLibraryItemTypeIso ContentLibraryItemType = "ISO" // CertVerificationStatusNotAvailable indicates the certificate verification status is not available. CertVerificationStatusNotAvailable CertVerificationStatus = "NOT_AVAILABLE" // CertVerificationStatusVerified indicates the library item has been fully validated during importing or file syncing. CertVerificationStatusVerified CertVerificationStatus = "VERIFIED" // CertVerificationStatusInternal indicates the library item is cloned/created through vCenter. CertVerificationStatusInternal CertVerificationStatus = "INTERNAL" // CertVerificationStatusVerificationFailure indicates certificate or manifest validation failed on the library item. CertVerificationStatusVerificationFailure CertVerificationStatus = "VERIFICATION_FAILURE" // CertVerificationStatusVerificationInProgress indicates the library item certificate verification is in progress. CertVerificationStatusVerificationInProgress CertVerificationStatus = "VERIFICATION_IN_PROGRESS" // CertVerificationStatusUntrusted indicates the certificate used to sign the library item is not trusted. CertVerificationStatusUntrusted CertVerificationStatus = "UNTRUSTED" )
const GroupName = "imageregistry.vmware.com"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &runtime.SchemeBuilder{} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func RegisterTypeWithScheme ¶
RegisterTypeWithScheme adds objects to the SchemeBuilder.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type CertVerificationStatus ¶
type CertVerificationStatus string
CertVerificationStatus is a constant for the certificate verification status of a content library item in vCenter.
type CertificateVerificationInfo ¶
type CertificateVerificationInfo struct { // Status shows the certificate verification status of the library item. // +kubebuilder:validation:Enum=NOT_AVAILABLE;VERIFIED;INTERNAL;VERIFICATION_FAILURE;VERIFICATION_IN_PROGRESS;UNTRUSTED // +optional Status CertVerificationStatus `json:"status,omitempty"` // CertChain shows the signing certificate chain in base64 encoding if the library item is signed. // +optional CertChain []string `json:"certChain,omitempty"` }
CertificateVerificationInfo shows the certificate verification status and the signing certificate.
func (*CertificateVerificationInfo) DeepCopy ¶
func (in *CertificateVerificationInfo) DeepCopy() *CertificateVerificationInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateVerificationInfo.
func (*CertificateVerificationInfo) DeepCopyInto ¶
func (in *CertificateVerificationInfo) DeepCopyInto(out *CertificateVerificationInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Checksum ¶
type Checksum struct { // Algorithm is the algorithm used to calculate the checksum. Supported // algorithms are "SHA256" and "SHA512". If omitted, "SHA256" will be used // as the default algorithm. Algorithm string `json:"algorithm"` // Value is the checksum value calculated by the specified algorithm. Value string `json:"value"` }
Checksum contains the checksum value and algorithm used to calculate that value.
func (*Checksum) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Checksum.
func (*Checksum) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterContentLibrary ¶
type ClusterContentLibrary struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterContentLibrarySpec `json:"spec,omitempty"` Status ContentLibraryStatus `json:"status,omitempty"` }
ClusterContentLibrary is the schema for the cluster scoped content library API. Currently, ClusterContentLibrary is immutable to end users.
func (*ClusterContentLibrary) DeepCopy ¶
func (in *ClusterContentLibrary) DeepCopy() *ClusterContentLibrary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterContentLibrary.
func (*ClusterContentLibrary) DeepCopyInto ¶
func (in *ClusterContentLibrary) DeepCopyInto(out *ClusterContentLibrary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterContentLibrary) DeepCopyObject ¶
func (in *ClusterContentLibrary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterContentLibrary) GetConditions ¶
func (ccl *ClusterContentLibrary) GetConditions() Conditions
func (*ClusterContentLibrary) SetConditions ¶
func (ccl *ClusterContentLibrary) SetConditions(conditions Conditions)
type ClusterContentLibraryItem ¶
type ClusterContentLibraryItem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContentLibraryItemSpec `json:"spec,omitempty"` Status ContentLibraryItemStatus `json:"status,omitempty"` }
ClusterContentLibraryItem is the schema for the content library item API at the cluster scope. Currently, ClusterContentLibraryItem is immutable to end users.
func (*ClusterContentLibraryItem) DeepCopy ¶
func (in *ClusterContentLibraryItem) DeepCopy() *ClusterContentLibraryItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterContentLibraryItem.
func (*ClusterContentLibraryItem) DeepCopyInto ¶
func (in *ClusterContentLibraryItem) DeepCopyInto(out *ClusterContentLibraryItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterContentLibraryItem) DeepCopyObject ¶
func (in *ClusterContentLibraryItem) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterContentLibraryItem) GetConditions ¶
func (cclItem *ClusterContentLibraryItem) GetConditions() Conditions
func (*ClusterContentLibraryItem) SetConditions ¶
func (cclItem *ClusterContentLibraryItem) SetConditions(conditions Conditions)
type ClusterContentLibraryItemList ¶
type ClusterContentLibraryItemList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterContentLibraryItem `json:"items"` }
ClusterContentLibraryItemList contains a list of ClusterContentLibraryItem.
func (*ClusterContentLibraryItemList) DeepCopy ¶
func (in *ClusterContentLibraryItemList) DeepCopy() *ClusterContentLibraryItemList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterContentLibraryItemList.
func (*ClusterContentLibraryItemList) DeepCopyInto ¶
func (in *ClusterContentLibraryItemList) DeepCopyInto(out *ClusterContentLibraryItemList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterContentLibraryItemList) DeepCopyObject ¶
func (in *ClusterContentLibraryItemList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterContentLibraryList ¶
type ClusterContentLibraryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterContentLibrary `json:"items"` }
ClusterContentLibraryList contains a list of ClusterContentLibrary.
func (*ClusterContentLibraryList) DeepCopy ¶
func (in *ClusterContentLibraryList) DeepCopy() *ClusterContentLibraryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterContentLibraryList.
func (*ClusterContentLibraryList) DeepCopyInto ¶
func (in *ClusterContentLibraryList) DeepCopyInto(out *ClusterContentLibraryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterContentLibraryList) DeepCopyObject ¶
func (in *ClusterContentLibraryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterContentLibrarySpec ¶
type ClusterContentLibrarySpec struct { // UUID is the identifier which uniquely identifies the library in vCenter. This field is immutable. // +required UUID types.UID `json:"uuid"` // ResourceNamingStrategy defines the naming strategy for item resources in this content library. If not specified, // naming strategy FROM_ITEM_ID will be used to generate item resource names. This field is immutable. // +optional // +kubebuilder:validation:Enum=FROM_ITEM_ID;PREFER_ITEM_SOURCE_ID ResourceNamingStrategy ResourceNamingStrategy `json:"resourceNamingStrategy,omitempty"` }
ClusterContentLibrarySpec defines the desired state of a ClusterContentLibrary.
func (*ClusterContentLibrarySpec) DeepCopy ¶
func (in *ClusterContentLibrarySpec) DeepCopy() *ClusterContentLibrarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterContentLibrarySpec.
func (*ClusterContentLibrarySpec) DeepCopyInto ¶
func (in *ClusterContentLibrarySpec) DeepCopyInto(out *ClusterContentLibrarySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { // Type of condition in CamelCase or in foo.example.com/CamelCase. // Many .condition.type values are consistent across resources like Available, but because arbitrary conditions // can be useful (see .node.status.conditions), the ability to deconflict is important. // +required Type ConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. // +required Status corev1.ConditionStatus `json:"status"` // Severity provides an explicit classification of Reason code, so the users or machines can immediately // understand the current situation and act accordingly. // The Severity field MUST be set only when Status=False. // +optional Severity ConditionSeverity `json:"severity,omitempty"` // Last time the condition transitioned from one status to another. // This should be when the underlying condition changed. If that is not known, then using the time when // the API field changed is acceptable. // +required LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition in CamelCase. // The specific API may choose whether or not this field is considered a guaranteed API. // This field may not be empty. // +optional Reason string `json:"reason,omitempty"` // A human readable message indicating details about the transition. // This field may be empty. // +optional Message string `json:"message,omitempty"` }
Condition defines an observation of an Image Registry Operator API resource operational state.
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionSeverity ¶
type ConditionSeverity string
ConditionSeverity expresses the severity of a Condition Type failing.
const ( // ConditionSeverityError specifies that a condition with `Status=False` is an error. ConditionSeverityError ConditionSeverity = "Error" // ConditionSeverityWarning specifies that a condition with `Status=False` is a warning. ConditionSeverityWarning ConditionSeverity = "Warning" // ConditionSeverityInfo specifies that a condition with `Status=False` is informative. ConditionSeverityInfo ConditionSeverity = "Info" // ConditionSeverityNone should apply only to conditions with `Status=True`. ConditionSeverityNone ConditionSeverity = "" )
type ConditionType ¶
type ConditionType string
ConditionType is a valid value for Condition.Type.
const ( ContentLibraryItemImportRequestSourceValid ConditionType = "SourceValid" ContentLibraryItemImportRequestTargetValid ConditionType = "TargetValid" ContentLibraryItemImportRequestContentLibraryItemCreated ConditionType = "ContentLibraryItemCreated" ContentLibraryItemImportRequestTemplateUploaded ConditionType = "TemplateUploaded" ContentLibraryItemImportRequestContentLibraryItemReady ConditionType = "ContentLibraryItemReady" ContentLibraryItemImportRequestComplete ConditionType = "Complete" )
ConditionTypes used by ContentLibraryItemImportRequest API objects.
const ( // ReadyCondition defines the Ready condition type that summarizes the operational state of an Image Registry Operator API object. ReadyCondition ConditionType = "Ready" )
Common ConditionTypes used by Image Registry Operator API objects.
type Conditions ¶
type Conditions []Condition
Conditions provide observations of the operational state of a Image Registry Operator API resource.
func (Conditions) DeepCopy ¶
func (in Conditions) DeepCopy() Conditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions.
func (Conditions) DeepCopyInto ¶
func (in Conditions) DeepCopyInto(out *Conditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibrary ¶
type ContentLibrary struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContentLibrarySpec `json:"spec,omitempty"` Status ContentLibraryStatus `json:"status,omitempty"` }
ContentLibrary is the schema for the content library API. Currently, ContentLibrary is immutable to end users.
func (*ContentLibrary) DeepCopy ¶
func (in *ContentLibrary) DeepCopy() *ContentLibrary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibrary.
func (*ContentLibrary) DeepCopyInto ¶
func (in *ContentLibrary) DeepCopyInto(out *ContentLibrary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContentLibrary) DeepCopyObject ¶
func (in *ContentLibrary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContentLibrary) GetConditions ¶
func (contentLibrary *ContentLibrary) GetConditions() Conditions
func (*ContentLibrary) SetConditions ¶
func (contentLibrary *ContentLibrary) SetConditions(conditions Conditions)
type ContentLibraryItem ¶
type ContentLibraryItem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContentLibraryItemSpec `json:"spec,omitempty"` Status ContentLibraryItemStatus `json:"status,omitempty"` }
ContentLibraryItem is the schema for the content library item API. Currently, ContentLibraryItem is immutable to end users.
func (*ContentLibraryItem) DeepCopy ¶
func (in *ContentLibraryItem) DeepCopy() *ContentLibraryItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItem.
func (*ContentLibraryItem) DeepCopyInto ¶
func (in *ContentLibraryItem) DeepCopyInto(out *ContentLibraryItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContentLibraryItem) DeepCopyObject ¶
func (in *ContentLibraryItem) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContentLibraryItem) GetConditions ¶
func (contentLibraryItem *ContentLibraryItem) GetConditions() Conditions
func (*ContentLibraryItem) SetConditions ¶
func (contentLibraryItem *ContentLibraryItem) SetConditions(conditions Conditions)
type ContentLibraryItemFileUploadStatus ¶
type ContentLibraryItemFileUploadStatus struct { // SessionUUID is the identifier that uniquely identifies the file upload session on the library item in vSphere. // +required SessionUUID types.UID `json:"sessionUUID,omitempty"` // FileUploads list the transfer statuses of files being uploaded and tracked by the upload session. // +optional FileUploads []FileTransferStatus `json:"fileUploads,omitempty"` }
ContentLibraryItemFileUploadStatus indicates the upload status of files belonging to the template.
func (*ContentLibraryItemFileUploadStatus) DeepCopy ¶
func (in *ContentLibraryItemFileUploadStatus) DeepCopy() *ContentLibraryItemFileUploadStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemFileUploadStatus.
func (*ContentLibraryItemFileUploadStatus) DeepCopyInto ¶
func (in *ContentLibraryItemFileUploadStatus) DeepCopyInto(out *ContentLibraryItemFileUploadStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryItemImportRequest ¶
type ContentLibraryItemImportRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContentLibraryItemImportRequestSpec `json:"spec,omitempty"` Status ContentLibraryItemImportRequestStatus `json:"status,omitempty"` }
ContentLibraryItemImportRequest defines the information necessary to import a VM image template as a ContentLibraryItem to a Content Library in vSphere.
func (*ContentLibraryItemImportRequest) DeepCopy ¶
func (in *ContentLibraryItemImportRequest) DeepCopy() *ContentLibraryItemImportRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemImportRequest.
func (*ContentLibraryItemImportRequest) DeepCopyInto ¶
func (in *ContentLibraryItemImportRequest) DeepCopyInto(out *ContentLibraryItemImportRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContentLibraryItemImportRequest) DeepCopyObject ¶
func (in *ContentLibraryItemImportRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContentLibraryItemImportRequest) GetConditions ¶
func (clItemImportRequest *ContentLibraryItemImportRequest) GetConditions() Conditions
func (*ContentLibraryItemImportRequest) SetConditions ¶
func (clItemImportRequest *ContentLibraryItemImportRequest) SetConditions(conditions Conditions)
type ContentLibraryItemImportRequestList ¶
type ContentLibraryItemImportRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ContentLibraryItemImportRequest `json:"items"` }
ContentLibraryItemImportRequestList contains a list of ContentLibraryItemImportRequest resources.
func (*ContentLibraryItemImportRequestList) DeepCopy ¶
func (in *ContentLibraryItemImportRequestList) DeepCopy() *ContentLibraryItemImportRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemImportRequestList.
func (*ContentLibraryItemImportRequestList) DeepCopyInto ¶
func (in *ContentLibraryItemImportRequestList) DeepCopyInto(out *ContentLibraryItemImportRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContentLibraryItemImportRequestList) DeepCopyObject ¶
func (in *ContentLibraryItemImportRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContentLibraryItemImportRequestSource ¶
type ContentLibraryItemImportRequestSource struct { // URL is the endpoint that points to a file that is to be imported as a new Content Library Item in // the target vSphere Content Library. If the target item type is ContentLibraryItemTypeOvf, the URL // should point to an OVF descriptor file (.ovf), an OVA file (.ova), or an ISO file (.iso). Otherwise, // the SourceValid condition will become false in the status. URL string `json:"url"` // PEM encoded SSL Certificate for this endpoint specified by the URL. It is only used for HTTPS connections. // If set, the remote endpoint's SSL certificate is only accepted if it matches this certificate, and no other // certificate validation is performed. // If unset, the remote endpoint's SSL certificate must be trusted by vSphere trusted root CA certificates, // otherwise the SSL certification verification may fail and thus fail the import request. SSLCertificate string `json:"sslCertificate,omitempty"` // Checksum contains the checksum algorithm and value calculated for the // file specified in the URL. If omitted, the import request will not verify // the checksum of the file. Checksum *Checksum `json:"checksum,omitempty"` }
ContentLibraryItemImportRequestSource contains the specification of the source for the import request.
func (*ContentLibraryItemImportRequestSource) DeepCopy ¶
func (in *ContentLibraryItemImportRequestSource) DeepCopy() *ContentLibraryItemImportRequestSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemImportRequestSource.
func (*ContentLibraryItemImportRequestSource) DeepCopyInto ¶
func (in *ContentLibraryItemImportRequestSource) DeepCopyInto(out *ContentLibraryItemImportRequestSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryItemImportRequestSpec ¶
type ContentLibraryItemImportRequestSpec struct { // Source is the source of the import request which includes an external URL // pointing to a VM image template. // Source and Target will be immutable if the SourceValid and TargetValid conditions are true. // +required Source ContentLibraryItemImportRequestSource `json:"source"` // Target is the target of the import request which includes the content library item // information and a ContentLibrary resource. // Source and Target will be immutable if the SourceValid and TargetValid conditions are true. // +required Target ContentLibraryItemImportRequestTarget `json:"target"` // TTLSecondsAfterFinished is the time-to-live duration for how long this // resource will be allowed to exist once the import operation // completes. After the TTL expires, the resource will be automatically // deleted without the user having to take any direct action. // If this field is unset then the request resource will not be // automatically deleted. If this field is set to zero then the request // resource is eligible for deletion immediately after it finishes. // +optional // +kubebuilder:validation:Minimum=0 TTLSecondsAfterFinished *int64 `json:"ttlSecondsAfterFinished,omitempty"` }
ContentLibraryItemImportRequestSpec defines the desired state of a ContentLibraryItemImportRequest.
func (*ContentLibraryItemImportRequestSpec) DeepCopy ¶
func (in *ContentLibraryItemImportRequestSpec) DeepCopy() *ContentLibraryItemImportRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemImportRequestSpec.
func (*ContentLibraryItemImportRequestSpec) DeepCopyInto ¶
func (in *ContentLibraryItemImportRequestSpec) DeepCopyInto(out *ContentLibraryItemImportRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryItemImportRequestStatus ¶
type ContentLibraryItemImportRequestStatus struct { // ItemRef is the reference to the target ContentLibraryItem resource of the import request. // If the ContentLibraryItemImportRequest is deleted when the import operation fails or before // the Complete condition is set to true, the import operation will be cancelled in vSphere // and the corresponding vSphere Content Library Item will be deleted. // +optional ItemRef *LocalObjectRef `json:"itemRef,omitempty"` // CompletionTime represents time when the request was completed. // The value of this field should be equal to the value of the // LastTransitionTime for the status condition Type=Complete. // +optional CompletionTime metav1.Time `json:"completionTime,omitempty"` // StartTime represents time when the request was acknowledged by the // controller. // +optional StartTime metav1.Time `json:"startTime,omitempty"` // FileUpload indicates the upload status of files belonging to the template. // +optional FileUploadStatus *ContentLibraryItemFileUploadStatus `json:"fileUploadStatus,omitempty"` // Conditions describes the current condition information of the ContentLibraryItemImportRequest. // The conditions present will be: // * SourceValid // * TargetValid // * ContentLibraryItemCreated // * TemplateUploaded // * ContentLibraryItemReady // * Complete // +optional Conditions []Condition `json:"conditions,omitempty"` }
ContentLibraryItemImportRequestStatus defines the observed state of a ContentLibraryItemImportRequest.
func (*ContentLibraryItemImportRequestStatus) DeepCopy ¶
func (in *ContentLibraryItemImportRequestStatus) DeepCopy() *ContentLibraryItemImportRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemImportRequestStatus.
func (*ContentLibraryItemImportRequestStatus) DeepCopyInto ¶
func (in *ContentLibraryItemImportRequestStatus) DeepCopyInto(out *ContentLibraryItemImportRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryItemImportRequestTarget ¶
type ContentLibraryItemImportRequestTarget struct { // Item contains information about the content library item to which // the template will be imported in vSphere. // If omitted, the content library item will be created with the same name as the name // of the image specified in the spec.source.url in the specified vSphere Content Library. // If an item with the same name already exists in the specified vSphere Content Library, // the TargetValid condition will become false in the status. // +optional Item ContentLibraryItemImportRequestTargetItem `json:"item,omitempty"` // Library contains information about the library in which the library item // will be created in vSphere. // +required Library LocalObjectRef `json:"library"` }
ContentLibraryItemImportRequestTarget is the target specification of an import request.
func (*ContentLibraryItemImportRequestTarget) DeepCopy ¶
func (in *ContentLibraryItemImportRequestTarget) DeepCopy() *ContentLibraryItemImportRequestTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemImportRequestTarget.
func (*ContentLibraryItemImportRequestTarget) DeepCopyInto ¶
func (in *ContentLibraryItemImportRequestTarget) DeepCopyInto(out *ContentLibraryItemImportRequestTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryItemImportRequestTargetItem ¶
type ContentLibraryItemImportRequestTargetItem struct { // Name is the name of the new content library item that will be created in vSphere. // If omitted, the content library item will be created with the same name as the name // of the image specified in the spec.source.url in the specified vSphere Content Library. // If an item with the same name already exists in the specified vSphere Content Library, // the TargetValid condition will become false in the status. // +optional Name string `json:"name,omitempty"` // Description is a description for a vSphere Content Library Item. // +optional Description string `json:"description,omitempty"` // Type is the type of the new content library item that will be created in vSphere. // Currently only ContentLibraryItemTypeOvf is supported, if it is omitted or other item type // is specified, the TargetValid condition will become false in the status. For the item type // of ContentLibraryItemTypeOvf, it is required that the default OVF security policy is configured // on the target content library for the import request, otherwise the TargetValid condition will // become false in the status. // +optional Type ContentLibraryItemType `json:"type,omitempty"` }
ContentLibraryItemImportRequestTargetItem contains the specification of the target content library item for the import request.
func (*ContentLibraryItemImportRequestTargetItem) DeepCopy ¶
func (in *ContentLibraryItemImportRequestTargetItem) DeepCopy() *ContentLibraryItemImportRequestTargetItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemImportRequestTargetItem.
func (*ContentLibraryItemImportRequestTargetItem) DeepCopyInto ¶
func (in *ContentLibraryItemImportRequestTargetItem) DeepCopyInto(out *ContentLibraryItemImportRequestTargetItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryItemList ¶
type ContentLibraryItemList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ContentLibraryItem `json:"items"` }
ContentLibraryItemList contains a list of ContentLibraryItem.
func (*ContentLibraryItemList) DeepCopy ¶
func (in *ContentLibraryItemList) DeepCopy() *ContentLibraryItemList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemList.
func (*ContentLibraryItemList) DeepCopyInto ¶
func (in *ContentLibraryItemList) DeepCopyInto(out *ContentLibraryItemList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContentLibraryItemList) DeepCopyObject ¶
func (in *ContentLibraryItemList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContentLibraryItemSpec ¶
type ContentLibraryItemSpec struct { // UUID is the identifier which uniquely identifies the library item in vCenter. This field is immutable. // +required UUID types.UID `json:"uuid"` }
ContentLibraryItemSpec defines the desired state of a ContentLibraryItem.
func (*ContentLibraryItemSpec) DeepCopy ¶
func (in *ContentLibraryItemSpec) DeepCopy() *ContentLibraryItemSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemSpec.
func (*ContentLibraryItemSpec) DeepCopyInto ¶
func (in *ContentLibraryItemSpec) DeepCopyInto(out *ContentLibraryItemSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryItemStatus ¶
type ContentLibraryItemStatus struct { // Name specifies the name of the content library item in vCenter specified by the user. // +optional Name string `json:"name,omitempty"` // ContentLibraryRef refers to the ContentLibrary custom resource that this item belongs to. // +optional ContentLibraryRef *NameAndKindRef `json:"contentLibraryRef,omitempty"` // Description is a human-readable description for this library item. // +optional Description string `json:"description,omitempty"` // MetadataVersion indicates the version of the library item metadata in vCenter. // This value is incremented when the library item properties such as name or description are changed in vCenter. // +optional MetadataVersion string `json:"metadataVersion,omitempty"` // ContentVersion indicates the version of the library item content in vCenter. // This value is incremented when the files comprising the content library item are changed in vCenter. // +optional ContentVersion string `json:"contentVersion,omitempty"` // Type indicates the type of the library item in vCenter. // +kubebuilder:validation:Enum=OVF;ISO // +optional Type ContentLibraryItemType `json:"type,omitempty"` // SourceID indicates the source identifier of the library item if the item belongs to a subscribed content library. // +optional SourceID types.UID `json:"sourceID,omitempty"` // SizeInBytes indicates the library item size in bytes on storage in vCenter. // +optional SizeInBytes resource.Quantity `json:"sizeInBytes,omitempty"` // Cached indicates if the library item files are on storage in vCenter. // +optional // +kubebuilder:default=false Cached bool `json:"cached,omitempty"` // SecurityCompliance shows the security compliance of the library item. // +optional SecurityCompliance *bool `json:"securityCompliance,omitempty"` // CertificateVerificationInfo shows the certificate verification status and the signing certificate. // +optional CertificateVerificationInfo *CertificateVerificationInfo `json:"certificateVerificationInfo,omitempty"` // FileInfo represents zero, one or more files belonging to the content library item in vCenter. // +optional FileInfo []FileInfo `json:"fileInfo,omitempty"` // CreationTime indicates the date and time when this library item was created in vCenter. // +optional CreationTime metav1.Time `json:"creationTime,omitempty"` // LastModifiedTime indicates the date and time when this library item was last updated in vCenter. // This field is updated when the library item properties are changed or the file content is changed. // +optional LastModifiedTime metav1.Time `json:"lastModifiedTime,omitempty"` // LastSyncTime indicates the date and time when this library item was last synchronized in vCenter. // This field applies only to the library items belonging to the library of Type=Subscribed. // +optional LastSyncTime metav1.Time `json:"lastSyncTime,omitempty"` // Conditions describes the current condition information of the ContentLibraryItem. // +optional Conditions Conditions `json:"conditions,omitempty"` }
ContentLibraryItemStatus defines the observed state of ContentLibraryItem.
func (*ContentLibraryItemStatus) DeepCopy ¶
func (in *ContentLibraryItemStatus) DeepCopy() *ContentLibraryItemStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryItemStatus.
func (*ContentLibraryItemStatus) DeepCopyInto ¶
func (in *ContentLibraryItemStatus) DeepCopyInto(out *ContentLibraryItemStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryItemType ¶
type ContentLibraryItemType string
ContentLibraryItemType is a constant for the type of a content library item in vCenter.
type ContentLibraryList ¶
type ContentLibraryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ContentLibrary `json:"items"` }
ContentLibraryList contains a list of ContentLibrary.
func (*ContentLibraryList) DeepCopy ¶
func (in *ContentLibraryList) DeepCopy() *ContentLibraryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryList.
func (*ContentLibraryList) DeepCopyInto ¶
func (in *ContentLibraryList) DeepCopyInto(out *ContentLibraryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContentLibraryList) DeepCopyObject ¶
func (in *ContentLibraryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContentLibrarySpec ¶
type ContentLibrarySpec struct { // UUID is the identifier which uniquely identifies the library in vCenter. This field is immutable. // +required UUID types.UID `json:"uuid"` // Writable flag indicates if users can create new library items in this library. // +required Writable bool `json:"writable"` // AllowImport flag indicates if users can import OVF/OVA templates from remote HTTPS URLs // as new content library items in this library. // +optional // +kubebuilder:default=false AllowImport bool `json:"allowImport,omitempty"` // ResourceNamingStrategy defines the naming strategy for item resources in this content library. If not specified, // naming strategy FROM_ITEM_ID will be used to generate item resource names. This field is immutable. // +optional // +kubebuilder:validation:Enum=FROM_ITEM_ID;PREFER_ITEM_SOURCE_ID ResourceNamingStrategy ResourceNamingStrategy `json:"resourceNamingStrategy,omitempty"` }
ContentLibrarySpec defines the desired state of a ContentLibrary.
func (*ContentLibrarySpec) DeepCopy ¶
func (in *ContentLibrarySpec) DeepCopy() *ContentLibrarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibrarySpec.
func (*ContentLibrarySpec) DeepCopyInto ¶
func (in *ContentLibrarySpec) DeepCopyInto(out *ContentLibrarySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryStatus ¶
type ContentLibraryStatus struct { // Name specifies the name of the content library in vCenter. // +optional Name string `json:"name,omitempty"` // Description is a human-readable description for this library in vCenter. // +optional Description string `json:"description,omitempty"` // +kubebuilder:validation:Enum=Local;Subscribed // +optional Type ContentLibraryType `json:"type,omitempty"` // StorageBacking indicates the default storage backing available for this library in vCenter. // +optional StorageBacking *StorageBacking `json:"storageBacking,omitempty"` // Version is a number that can identify metadata changes. This value is incremented when the library // properties such as name or description are changed in vCenter. // +optional Version string `json:"version,omitempty"` // Published indicates how the library is published so that it can be subscribed to by a remote subscribed library. // +optional PublishInfo *PublishInfo `json:"publishInfo,omitempty"` // SubscriptionInfo defines how the subscribed library synchronizes to a remote source. // This field is populated only if Type=Subscribed. // +optional SubscriptionInfo *SubscriptionInfo `json:"subscriptionInfo,omitempty"` // SecurityPolicyID defines the security policy applied to this library. // Setting this field will make the library secure. // +optional SecurityPolicyID string `json:"securityPolicyID,omitempty"` // StateInfo provides the state information of this library. // +optional StateInfo *StateInfo `json:"stateInfo,omitempty"` // ServerGUID indicates the unique identifier of the vCenter server where the library exists. // +optional ServerGUID string `json:"serverGUID,omitempty"` // CreationTime indicates the date and time when this library was created in vCenter. // +optional CreationTime metav1.Time `json:"creationTime,omitempty"` // LastModifiedTime indicates the date and time when this library was last updated in vCenter. // This field is updated only when the library properties are changed. This field is not updated when a library // item is added, modified or deleted or its content is changed. // +optional LastModifiedTime metav1.Time `json:"lastModifiedTime,omitempty"` // LastSyncTime indicates the date and time when this library was last synchronized in vCenter. // This field applies only if the library is of the "Subscribed" Type. // +optional LastSyncTime metav1.Time `json:"lastSyncTime,omitempty"` // Conditions describes the current condition information of the ContentLibrary. // +optional Conditions Conditions `json:"conditions,omitempty"` }
ContentLibraryStatus defines the observed state of ContentLibrary.
func (*ContentLibraryStatus) DeepCopy ¶
func (in *ContentLibraryStatus) DeepCopy() *ContentLibraryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentLibraryStatus.
func (*ContentLibraryStatus) DeepCopyInto ¶
func (in *ContentLibraryStatus) DeepCopyInto(out *ContentLibraryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentLibraryType ¶
type ContentLibraryType string
ContentLibraryType is a constant type that indicates the type of a content library in vCenter.
const ( // ContentLibraryTypeLocal indicates a local content library in vCenter. ContentLibraryTypeLocal ContentLibraryType = "Local" // ContentLibraryTypeSubscribed indicates a subscribed content library in vCenter. ContentLibraryTypeSubscribed ContentLibraryType = "Subscribed" )
type FileInfo ¶
type FileInfo struct { // Name specifies the name of the file in vCenter. Name string `json:"name"` // SizeInBytes indicates the library item file size in bytes on storage in vCenter. SizeInBytes resource.Quantity `json:"sizeInBytes"` // Version indicates the version of the library item file in vCenter. // This value is incremented when a new copy of the file is uploaded to vCenter. Version string `json:"version"` // Cached indicates if the library item file is on storage in vCenter. Cached bool `json:"cached"` // StorageURI identifies the file on the storage backing. It is specific to // the storage backing and available after the file is cached in vCenter. // This URL is useful for creating a device that is backed by this file // (i.e. mounting an ISO file via a virtual CD-ROM device). StorageURI string `json:"storageURI,omitempty"` }
FileInfo represents the information of a file in a content library item in vCenter.
func (*FileInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileInfo.
func (*FileInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileTransferStatus ¶
type FileTransferStatus struct { // Name specifies the name of the file that is transferred. // +required Name string `json:"name"` // Status indicates the transfer status of the file. // +required Status TransferStatus `json:"transferStatus"` // BytesTransferred indicates the number of bytes of this file that have been received by the server. // +optional BytesTransferred *int64 `json:"bytesTransferred,omitempty"` // Size indicates the file size in bytes as received by the server, this won't be available // until the transfer status is ready. // +optional Size *int64 `json:"size,omitempty"` // ErrorMessage describes the details about the transfer error if the transfer status is error. // +optional ErrorMessage string `json:"errorMessage,omitempty"` }
FileTransferStatus indicates the transfer status of a file belonging to a library item.
func (*FileTransferStatus) DeepCopy ¶
func (in *FileTransferStatus) DeepCopy() *FileTransferStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileTransferStatus.
func (*FileTransferStatus) DeepCopyInto ¶
func (in *FileTransferStatus) DeepCopyInto(out *FileTransferStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalObjectRef ¶
type LocalObjectRef struct { // APIVersion defines the versioned schema of this representation of an // object. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources APIVersion string `json:"apiVersion"` // Kind is a string value representing the kind of resource to which this // object refers. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind string `json:"kind"` // Name refers to a unique resource in the current namespace. // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name"` }
LocalObjectRef describes a reference to another object in the same namespace as the referrer.
func (*LocalObjectRef) DeepCopy ¶
func (in *LocalObjectRef) DeepCopy() *LocalObjectRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectRef.
func (*LocalObjectRef) DeepCopyInto ¶
func (in *LocalObjectRef) DeepCopyInto(out *LocalObjectRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameAndKindRef ¶
type NameAndKindRef struct { // Kind is a string value representing the kind of resource to which this // object refers. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional Kind string `json:"kind"` // Name refers to a unique resource in the current namespace. // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name"` }
NameAndKindRef describes a reference to another object in the same namespace as the referrer. The reference can be just a name but may also include the referred resource's Kind.
func (*NameAndKindRef) DeepCopy ¶
func (in *NameAndKindRef) DeepCopy() *NameAndKindRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameAndKindRef.
func (*NameAndKindRef) DeepCopyInto ¶
func (in *NameAndKindRef) DeepCopyInto(out *NameAndKindRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublishInfo ¶
type PublishInfo struct { // Published indicates if the local library is published so that it can be subscribed to by a remote subscribed library. // +required Published bool `json:"published"` // URL to which the library metadata is published by the vSphere Content Library Service. // This value can be used to set the SubscriptionInfo.URL property when creating a subscribed library. // +required URL string `json:"URL"` }
PublishInfo defines how the library is published so that it can be subscribed to by a remote subscribed library.
func (*PublishInfo) DeepCopy ¶
func (in *PublishInfo) DeepCopy() *PublishInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishInfo.
func (*PublishInfo) DeepCopyInto ¶
func (in *PublishInfo) DeepCopyInto(out *PublishInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceNamingStrategy ¶
type ResourceNamingStrategy string
ResourceNamingStrategy represents a naming strategy for item resources in a content library in vCenter.
const ( // ResourceNamingStrategyFromItemID indicates the naming strategy that generates the item resource name from the item // identifier for items in a content library. This is the default naming strategy if not specified on a content library. ResourceNamingStrategyFromItemID ResourceNamingStrategy = "FROM_ITEM_ID" // ResourceNamingStrategyPreferItemSourceID indicates the naming strategy that generates the item resource name from the // source identifier of the item if it belongs to a subscribed content library, otherwise the item resource name will // be generated from the item identifier for items in a content library. ResourceNamingStrategyPreferItemSourceID ResourceNamingStrategy = "PREFER_ITEM_SOURCE_ID" )
type State ¶
type State string
State is a constant type that indicates the current state of a content library in vCenter.
const ( // StateActive indicates the library state when the library should be fully functional, this is the default library // state when a library is created. StateActive State = "Active" // StateInMaintenance indicates the library state when the library is in maintenance. This can happen when the library // is storage migrated to a different datastore, in which case content from the library may not be accessible and // operations mutating library content will be disallowed. StateInMaintenance State = "InMaintenance" )
type StateInfo ¶
type StateInfo struct { // State indicates the state of this library. State State `json:"state"` }
StateInfo provides the information about the state of a content library.
func (*StateInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateInfo.
func (*StateInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageBacking ¶
type StorageBacking struct { // Type indicates the type of storage where the content would be stored. // +kubebuilder:validation:Enum=Datastore;Other // +required Type StorageBackingType `json:"type"` // DatastoreID indicates the identifier of the datastore used to store the content // in the library for the "Datastore" storageType in vCenter. // +optional DatastoreID string `json:"datastoreID,omitempty"` }
StorageBacking describes the default storage backing which is available for the library.
func (*StorageBacking) DeepCopy ¶
func (in *StorageBacking) DeepCopy() *StorageBacking
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBacking.
func (*StorageBacking) DeepCopyInto ¶
func (in *StorageBacking) DeepCopyInto(out *StorageBacking)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageBackingType ¶
type StorageBackingType string
StorageBackingType is a constant type that indicates the type of the storage backing for a content library in vCenter.
const ( // StorageBackingTypeDatastore indicates a datastore backed content library in vCenter. StorageBackingTypeDatastore StorageBackingType = "Datastore" // StorageBackingTypeOther indicates a remote file system backed content library in vCenter. // Supports NFS and SMB remote file systems. StorageBackingTypeOther StorageBackingType = "Other" )
type SubscriptionInfo ¶
type SubscriptionInfo struct { // URL of the endpoint where the metadata for the remotely published library is being served. // The value from PublishInfo.URL of the published library should be used while creating a subscribed library. // +required URL string `json:"URL"` // OnDemand indicates whether a library item’s content will be synchronized only on demand. // +required OnDemand bool `json:"onDemand"` // AutomaticSync indicates whether the library should participate in automatic library synchronization. // +required AutomaticSync bool `json:"automaticSync"` }
SubscriptionInfo defines how the subscribed library synchronizes to a remote source.
func (*SubscriptionInfo) DeepCopy ¶
func (in *SubscriptionInfo) DeepCopy() *SubscriptionInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionInfo.
func (*SubscriptionInfo) DeepCopyInto ¶
func (in *SubscriptionInfo) DeepCopyInto(out *SubscriptionInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransferStatus ¶
type TransferStatus string
TransferStatus is a constant that indicates the transfer state of a file.
const ( // TransferStatusWaiting indicates that the file is waiting to be transferred. TransferStatusWaiting TransferStatus = "waiting" // TransferStatusTransferring indicates that the data of the file is being transferred. TransferStatusTransferring TransferStatus = "transferring" // TransferStatusValidating indicates that the file is being validated. TransferStatusValidating TransferStatus = "validating" // TransferStatusReady indicates that the file has been fully transferred and is ready to be used. TransferStatusReady TransferStatus = "ready" // TransferStatusError indicates there was an error transferring or validating the file. TransferStatusError TransferStatus = "error" )