Documentation
¶
Overview ¶
Package v1alpha2 is one of the schemas for Image Registry Operator.
Index ¶
- Constants
- Variables
- type BaseContentLibrarySpec
- 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() []metav1.Condition
- func (*ClusterContentLibrary) Hub()
- func (ccl *ClusterContentLibrary) SetConditions(conditions []metav1.Condition)
- type ClusterContentLibraryItem
- func (in *ClusterContentLibraryItem) DeepCopy() *ClusterContentLibraryItem
- func (in *ClusterContentLibraryItem) DeepCopyInto(out *ClusterContentLibraryItem)
- func (in *ClusterContentLibraryItem) DeepCopyObject() runtime.Object
- func (cclItem ClusterContentLibraryItem) GetConditions() []metav1.Condition
- func (*ClusterContentLibraryItem) Hub()
- func (cclItem *ClusterContentLibraryItem) SetConditions(conditions []metav1.Condition)
- type ClusterContentLibraryItemList
- type ClusterContentLibraryList
- type ClusterContentLibrarySpec
- type ContentLibrary
- func (in *ContentLibrary) DeepCopy() *ContentLibrary
- func (in *ContentLibrary) DeepCopyInto(out *ContentLibrary)
- func (in *ContentLibrary) DeepCopyObject() runtime.Object
- func (contentLibrary ContentLibrary) GetConditions() []metav1.Condition
- func (*ContentLibrary) Hub()
- func (contentLibrary *ContentLibrary) SetConditions(conditions []metav1.Condition)
- type ContentLibraryItem
- func (in *ContentLibraryItem) DeepCopy() *ContentLibraryItem
- func (in *ContentLibraryItem) DeepCopyInto(out *ContentLibraryItem)
- func (in *ContentLibraryItem) DeepCopyObject() runtime.Object
- func (contentLibraryItem ContentLibraryItem) GetConditions() []metav1.Condition
- func (*ContentLibraryItem) Hub()
- func (contentLibraryItem *ContentLibraryItem) SetConditions(conditions []metav1.Condition)
- 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() []metav1.Condition
- func (*ContentLibraryItemImportRequest) Hub()
- func (clItemImportRequest *ContentLibraryItemImportRequest) SetConditions(conditions []metav1.Condition)
- type ContentLibraryItemImportRequestList
- func (in *ContentLibraryItemImportRequestList) DeepCopy() *ContentLibraryItemImportRequestList
- func (in *ContentLibraryItemImportRequestList) DeepCopyInto(out *ContentLibraryItemImportRequestList)
- func (in *ContentLibraryItemImportRequestList) DeepCopyObject() runtime.Object
- func (*ContentLibraryItemImportRequestList) Hub()
- 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 FileInfo
- type FileTransferStatus
- type LibraryType
- type PublishInfo
- type ResourceNamingStrategy
- type State
- 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 ( ContentLibraryItemImportRequestSourceValid = "SourceValid" ContentLibraryItemImportRequestTargetValid = "TargetValid" ContentLibraryItemImportRequestContentLibraryItemCreated = "ContentLibraryItemCreated" ContentLibraryItemImportRequestTemplateUploaded = "TemplateUploaded" ContentLibraryItemImportRequestContentLibraryItemReady = "ContentLibraryItemReady" ContentLibraryItemImportRequestComplete = "Complete" )
ConditionTypes used by ContentLibraryItemImportRequest 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 GroupName = "imageregistry.vmware.com"
GroupName specifies the group name used to register the objects.
const (
// ReadyCondition defines the Ready condition type that summarizes the operational state of an Image Registry Operator API object.
ReadyCondition = "Ready"
)
Common ConditionTypes used by Image Registry Operator API objects.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha2"} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = schemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type BaseContentLibrarySpec ¶
type BaseContentLibrarySpec struct {
// ID describes the unique identifier used to find the library in vCenter.
//
// Please note this value may differ depending on spec.type:
// - Type=ContentLibrary -- ID is a content library UUID.
// - Type=Inventory -- ID is a vSphere folder managed object ID.
ID string `json:"id"`
// Type describes the type of library.
//
// Defaults to ContentLibrary.
Type LibraryType `json:"libraryType,omitempty"`
// ResourceNamingStrategy describes the naming strategy for item resources
// in this content library.
//
// This field is immutable and defaults to FromItemID.
//
// Please note, this is optional and not present on all libraries.
ResourceNamingStrategy ResourceNamingStrategy `json:"resourceNamingStrategy,omitempty"`
}
func (*BaseContentLibrarySpec) DeepCopy ¶
func (in *BaseContentLibrarySpec) DeepCopy() *BaseContentLibrarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseContentLibrarySpec.
func (*BaseContentLibrarySpec) DeepCopyInto ¶
func (in *BaseContentLibrarySpec) DeepCopyInto(out *BaseContentLibrarySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertVerificationStatus ¶
type CertVerificationStatus string
CertVerificationStatus is a constant for the certificate verification status of a content library item.
const ( // CertVerificationStatusNotAvailable indicates the certificate verification // status is not available. CertVerificationStatusNotAvailable CertVerificationStatus = "NotAvailable" // 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 = "VerificationFailure" // CertVerificationStatusVerificationInProgress indicates the library item // certificate verification is in progress. CertVerificationStatusVerificationInProgress CertVerificationStatus = "VerificationInProgress" // CertVerificationStatusUntrusted indicates the certificate used to sign // the library item is not trusted. CertVerificationStatusUntrusted CertVerificationStatus = "Untrusted" )
type CertificateVerificationInfo ¶
type CertificateVerificationInfo struct {
// Status describes the certificate verification status of the library item.
Status CertVerificationStatus `json:"status,omitempty"`
// CertChain describes the signing certificate chain in base64 encoding if
// the library item is signed.
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.
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() []metav1.Condition
func (*ClusterContentLibrary) Hub ¶
func (*ClusterContentLibrary) Hub()
Hub marks ClusterContentLibrary as a conversion hub.
func (*ClusterContentLibrary) SetConditions ¶
func (ccl *ClusterContentLibrary) SetConditions(conditions []metav1.Condition)
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() []metav1.Condition
func (*ClusterContentLibraryItem) Hub ¶
func (*ClusterContentLibraryItem) Hub()
Hub marks ClusterContentLibraryItem as a conversion hub.
func (*ClusterContentLibraryItem) SetConditions ¶
func (cclItem *ClusterContentLibraryItem) SetConditions(conditions []metav1.Condition)
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.
func (*ClusterContentLibraryItemList) Hub ¶
func (*ClusterContentLibraryItemList) Hub()
Hub marks ClusterContentLibraryItemList as a conversion hub.
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.
func (*ClusterContentLibraryList) Hub ¶
func (*ClusterContentLibraryList) Hub()
Hub marks ClusterContentLibraryList as a conversion hub.
type ClusterContentLibrarySpec ¶
type ClusterContentLibrarySpec struct {
BaseContentLibrarySpec `json:",inline"`
}
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 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.
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() []metav1.Condition
func (*ContentLibrary) Hub ¶
func (*ContentLibrary) Hub()
Hub marks ContentLibrary as a conversion hub.
func (*ContentLibrary) SetConditions ¶
func (contentLibrary *ContentLibrary) SetConditions(conditions []metav1.Condition)
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() []metav1.Condition
func (*ContentLibraryItem) Hub ¶
func (*ContentLibraryItem) Hub()
Hub marks ContentLibraryItem as a conversion hub.
func (*ContentLibraryItem) SetConditions ¶
func (contentLibraryItem *ContentLibraryItem) SetConditions(conditions []metav1.Condition)
type ContentLibraryItemFileUploadStatus ¶
type ContentLibraryItemFileUploadStatus struct {
// SessionUUID is the identifier that uniquely identifies the file upload
// session on the library item in vSphere.
SessionUUID types.UID `json:"sessionUUID,omitempty"`
// FileUploads list the transfer statuses of files being uploaded and
// tracked by the upload session.
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() []metav1.Condition
func (*ContentLibraryItemImportRequest) Hub ¶
func (*ContentLibraryItemImportRequest) Hub()
Hub marks ContentLibraryItemImportRequest as a conversion hub.
func (*ContentLibraryItemImportRequest) SetConditions ¶
func (clItemImportRequest *ContentLibraryItemImportRequest) SetConditions(conditions []metav1.Condition)
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.
func (*ContentLibraryItemImportRequestList) Hub ¶
func (*ContentLibraryItemImportRequestList) Hub()
Hub marks ContentLibraryItemImportRequestList as a conversion hub.
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.
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.
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.
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 {
// ItemName is the name to the target ContentLibraryItem resource created as
// a result of the import.
// 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.
ItemName string `json:"itemName,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.
CompletionTime metav1.Time `json:"completionTime,omitempty"`
// StartTime represents time when the request was acknowledged by the
// controller.
StartTime metav1.Time `json:"startTime,omitempty"`
// FileUpload indicates the upload status of files belonging to the template.
FileUploadStatus *ContentLibraryItemFileUploadStatus `json:"fileUploadStatus,omitempty"`
// Conditions describes the current condition information of the
// ContentLibraryItemImportRequest.
Conditions []metav1.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 library item to which the item will
// be imported in vSphere.
//
// If omitted, the library item will be created with the same name as the
// name of the image specified in the spec.source.url in the specified
// library.
//
// If an item with the same name already exists in the specified library,
// the TargetValid condition will be false.
Item ContentLibraryItemImportRequestTargetItem `json:"item,omitempty"`
// Library describes the name of the library in which the item will be
// created.
LibraryName string `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 library.
// If an item with the same name already exists in the specified library,
// the TargetValid condition will become false in the
// status.
Name string `json:"name,omitempty"`
// Description is a description for a library item.
Description string `json:"description,omitempty"`
// Type is the type of the new library item that will be created.
//
// The valid types depend on the type of underlying library:
// - LibraryType=ContentLibrary -- OVF
// - LibraryType=ContentLibrary -- ISO
//
// If omitted or the type is invalid, the TargetValid condition will be
// false.
//
// For the item type OVF, the default OVF security policy must be configured
// on the target library, otherwise the TargetValid condition will be false.
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.
func (*ContentLibraryItemList) Hub ¶
func (*ContentLibraryItemList) Hub()
Hub marks ContentLibraryItemList as a conversion hub.
type ContentLibraryItemSpec ¶
type ContentLibraryItemSpec struct {
// ID describes the unique identifier used to find the library item in
// vCenter.
//
// Please note this value depends on the type of the library to which this
// item belongs:
// - LibraryType=ContentLibrary -- ID is a content library item UUID.
// - LibraryType=Inventory -- ID is a vSphere VM managed object ID.
ID string `json:"id"`
// LibraryName describes the name of the library to which this item belongs.
// Namespace-scoped items belong to namespace-scoped libraries and
// cluster-scoped items belong to cluster-scoped libraries.
LibraryName string `json:"libraryName"`
}
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 describes the name of the underlying item in vCenter.
Name string `json:"name,omitempty"`
// Description is a human-readable description for this library item.
Description string `json:"description,omitempty"`
// Version describes a value that tracks changes to the library item's
// metadata, such as its name or description.
//
// Please note, this is optional and not present on all items.
Version string `json:"version,omitempty"`
// ContentVersion describes a value that tracks changes to the library
// item's content.
//
// Please note, this is optional and not present on all items.
ContentVersion string `json:"contentVersion,omitempty"`
// Type describes the type of the library item.
Type ContentLibraryItemType `json:"type,omitempty"`
// SourceID describes a unique piece of information used to identify a
// library item on the remote side a subscribed library.
//
// Please note, this is only applicable to items from subscribed libraries.
SourceID string `json:"sourceID,omitempty"`
// SizeInBytes describes the total number of bytes used by the library item
// on disk.
SizeInBytes resource.Quantity `json:"sizeInBytes,omitempty"`
// Cached describes if the library item files are available on disk.
Cached bool `json:"cached,omitempty"`
// SecurityCompliance describes the optional security compliance of the
// library item.
//
// Please note, this is optional and not present on all items.
SecurityCompliance *bool `json:"securityCompliance,omitempty"`
// CertificateVerificationInfo describes the certificate verification status
// and signing certificate.
//
// Please note, this is optional and not present on all items.
CertificateVerificationInfo *CertificateVerificationInfo `json:"certificateVerificationInfo,omitempty"`
// FileInfo describes the files that belong to the library item.
FileInfo []FileInfo `json:"fileInfo,omitempty"`
// CreationTime describes when the library item was created.
CreationTime metav1.Time `json:"creationTime,omitempty"`
// LastModifiedTime describes when the library item's metadata or content
// were last modified.
LastModifiedTime metav1.Time `json:"lastModifiedTime,omitempty"`
// LastSyncTime describes when the library item was last synchronized.
//
// Please note, this is only applicable to items from subscribed libraries.
LastSyncTime metav1.Time `json:"lastSyncTime,omitempty"`
// Conditions describes the current condition information of the library
// item.
Conditions []metav1.Condition `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 describes the type of library item.
const ( // ContentLibraryItemTypeOvf describes an OVF library item. ContentLibraryItemTypeOvf ContentLibraryItemType = "OVF" // ContentLibraryItemTypeIso describes an ISO library item. ContentLibraryItemTypeIso ContentLibraryItemType = "ISO" // ContentLibraryItemTypeVM describes a VM library item. ContentLibraryItemTypeVM ContentLibraryItemType = "VM" )
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.
func (*ContentLibraryList) Hub ¶
func (*ContentLibraryList) Hub()
Hub marks ContentLibraryList as a conversion hub.
type ContentLibrarySpec ¶
type ContentLibrarySpec struct {
BaseContentLibrarySpec `json:",inline"`
// StorageClass describes the name of the StorageClass used when publishing
// images to this library.
//
// Please note, this is optional and not present on all libraries.
StorageClass string `json:"storageClass,omitempty"`
// AllowDelete describes whether or not it is possible to delete items from
// this library.
AllowDelete bool `json:"allowDelete,omitempty"`
// AllowImport describes whether or not it is possible to import remote
// OVA/OVF/ISO content to this library.
AllowImport bool `json:"allowImport,omitempty"`
// AllowPublish describes whether or not it is possible to publish new items
// to this library.
AllowPublish bool `json:"allowPublish,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 describes the display name for the library.
Name string `json:"name,omitempty"`
// Description describes a human-readable description for the library.
Description string `json:"description,omitempty"`
// StorageBackings describes the default storage backing for the library.
StorageBackings []StorageBacking `json:"storageBacking,omitempty"`
// Version describes an optional value that tracks changes to the library's
// metadata, such as its name or description.
//
// Please note, this is optional and not present on all libraries.
Version string `json:"version,omitempty"`
// PublishInfo describes how the library is published.
//
// Please note, this is only applicable for published libraries.
PublishInfo *PublishInfo `json:"publishInfo,omitempty"`
// SubscriptionInfo describes how the library is subscribed.
//
// This field is only present for subscribed libraries.
SubscriptionInfo *SubscriptionInfo `json:"subscriptionInfo,omitempty"`
// SecurityPolicyID describes the security policy applied to the library.
//
// Please note, this is optional and not present on all libraries.
SecurityPolicyID string `json:"securityPolicyID,omitempty"`
// State describes the current state of the library.
State State `json:"state,omitempty"`
// ServerGUID describes the unique identifier of the vCenter server where
// the library exists.
ServerGUID string `json:"serverGUID,omitempty"`
// CreationTime describes the date and time when this library was created
// in vCenter.
CreationTime metav1.Time `json:"creationTime,omitempty"`
// LastModifiedTime describes the date and time when the library was last
// updated.
// This field is updated only when the library properties are changed.
// This field is not updated when a library item is added, modified,
// deleted, or its content is changed.
LastModifiedTime metav1.Time `json:"lastModifiedTime,omitempty"`
// LastSyncTime describes the date and time when this library was last
// synchronized.
//
// Please note, this is only applicable for subscribed libraries.
LastSyncTime metav1.Time `json:"lastSyncTime,omitempty"`
// Conditions describes the current condition information of the library.
Conditions []metav1.Condition `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 FileInfo ¶
type FileInfo struct {
// Name describes the name of the file.
Name string `json:"name"`
// SizeInBytes describes the total number of bytes used by the file on disk.
SizeInBytes resource.Quantity `json:"sizeInBytes,omitempty"`
// Version describes the version of the library item file.
// This value is incremented when the file is modified on disk.
Version string `json:"version,omitempty"`
// Cached describes whether or not the file is available locally on disk.
Cached bool `json:"cached,omitempty"`
// StorageURI describes the fully-qualified path to the file on a datastore,
// ex. "[my-datastore-1] library-1/item-1/file1.vmdk".
// 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.
Name string `json:"name"`
// Status indicates the transfer status of the file.
Status TransferStatus `json:"transferStatus"`
// BytesTransferred indicates the number of bytes of this file that have
// been received by the server.
BytesTransferred *int64 `json:"bytesTransferred,omitempty"`
// Size indicates the file size in bytes as received by the server.
// This value will not be available until the transfer status is ready.
Size *int64 `json:"size,omitempty"`
// ErrorMessage describes the details about the transfer error if the
// transfer status is error.
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 LibraryType ¶
type LibraryType string
LibraryType defines the types of libraries.
const ( // LibraryTypeContentLibrary describes a classic vCenter content library // whose library items are surfaced as ContentLibraryItem resources. LibraryTypeContentLibrary LibraryType = "ContentLibrary" // LibraryTypeInventory describes a folder in the vCenter inventory whose // virtual machines are surfaced as ContentLibraryItem resources. LibraryTypeInventory LibraryType = "Inventory" )
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.
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.
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 = "FromItemID" // 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 = "PreferItemSourceID" )
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 StorageBacking ¶
type StorageBacking struct {
// Type indicates the type of storage where the content would be stored.
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.
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 content library backed by a // datastore. StorageBackingTypeDatastore StorageBackingType = "Datastore" // StorageBackingTypeOther indicates a content library backed by an NFS or // SMB file system. 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.
URL string `json:"url"`
// OnDemand indicates whether a library item’s content will be synchronized
// only on demand.
OnDemand bool `json:"onDemand"`
// AutomaticSync indicates whether the library should participate in
// automatic library synchronization.
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" )