Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the imagehub v1 API group +kubebuilder:object:generate=true +groupName=imagehub.sealos.io
Index ¶
- Constants
- Variables
- func GetSupportedKeywords() []string
- type Action
- type Checker
- type Codes
- type Data
- type DataPack
- type DataPackList
- type DataPackSpec
- type DataPackStatus
- type DataPackType
- type Datas
- type FullData
- type Image
- type ImageBaseData
- type ImageDetailData
- type ImageDetailInfo
- type ImageGridData
- type ImageInfo
- type ImageList
- type ImageMutator
- type ImageName
- type ImageSpec
- type ImageStatus
- type ImageType
- type ImageValidator
- type OrgCombinator
- type OrgInfo
- type OrgMutator
- type OrgName
- type Organization
- func (in *Organization) DeepCopy() *Organization
- func (in *Organization) DeepCopyInto(out *Organization)
- func (in *Organization) DeepCopyObject() runtime.Object
- func (r *Organization) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Organization) ValidateCreate() error
- func (r *Organization) ValidateDelete() error
- func (r *Organization) ValidateUpdate(_ runtime.Object) error
- type OrganizationList
- type OrganizationSpec
- type OrganizationStatus
- type RepoCombinator
- type RepoInfo
- type RepoMutator
- type RepoName
- type RepoValidator
- type Repository
- type RepositoryList
- type RepositorySpec
- type RepositoryStatus
- type TagCombinator
- type TagData
- type TagList
Constants ¶
const ( Separator = '.' StringLenLimit = 1000 SealosOrgLable = "organization.imagehub.sealos.io" SealosRepoLabel = "repository.imagehub.sealos.io" SealosTagLabel = "tag.imagehub.sealos.io" OrgFinalizerName = "organization.imagehub.sealos.io/finalizer" RepoFinalizerName = "repository.imagehub.sealos.io/finalizer" ImgFinalizerName = "image.imagehub.sealos.io/finalizer" DataPackFinalizerName = "datapack.hub.sealos.io/finalizer" KeywordsLabelPrefix = "keyword.imagehub.sealos.io/" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "imagehub.sealos.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func GetSupportedKeywords ¶
func GetSupportedKeywords() []string
Types ¶
type Action ¶
type Action struct { // TODO: support more action types ,now just support yaml. Name string `json:"name,omitempty"` ActionType string `json:"actionType,omitempty"` Template string `json:"actions,omitempty"` CMD string `json:"cmd,omitempty"` }
func (*Action) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.
func (*Action) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Data ¶
type Data struct { // base Name ImageName `json:"name,omitempty"` Type ImageType `json:"type,omitempty"` // grid RepoName RepoName `json:"repoName,omitempty"` Rating int `json:"rating,omitempty"` DownloadCount int64 `json:"downloadCount,omitempty"` Icon string `json:"icon,omitempty"` Keywords []string `json:"keywords,omitempty"` Size int64 `json:"size,omitempty"` Description string `json:"description,omitempty"` // detail Tags TagList `json:"tags,omitempty"` Docs string `json:"docs,omitempty"` ID string `json:"ID,omitempty"` Arch string `json:"arch,omitempty"` }
Data defines all data needs to return
func (*Data) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Data.
func (*Data) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPack ¶
type DataPack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DataPackSpec `json:"spec,omitempty"` Status DataPackStatus `json:"status,omitempty"` }
DataPack is the Schema for the datapacks API
func (*DataPack) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPack.
func (*DataPack) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataPack) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataPackList ¶
type DataPackList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DataPack `json:"items"` }
DataPackList contains a list of DataPack
func (*DataPackList) DeepCopy ¶
func (in *DataPackList) DeepCopy() *DataPackList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPackList.
func (*DataPackList) DeepCopyInto ¶
func (in *DataPackList) DeepCopyInto(out *DataPackList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataPackList) DeepCopyObject ¶
func (in *DataPackList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataPackSpec ¶
type DataPackSpec struct { //+kubebuilder:validation:Enum={ base, grid, detail, } //+kubebuilder:default=base Type DataPackType `json:"type,omitempty"` Names []ImageName `json:"names,omitempty"` //+kubebuilder:validation:Optional //+kubebuilder:default:="2h" ExpireTime string `json:"expireTime,omitempty"` }
DataPackSpec defines the desired state of DataPack
func (*DataPackSpec) DeepCopy ¶
func (in *DataPackSpec) DeepCopy() *DataPackSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPackSpec.
func (*DataPackSpec) DeepCopyInto ¶
func (in *DataPackSpec) DeepCopyInto(out *DataPackSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPackStatus ¶
type DataPackStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Codes Codes `json:"codes"` Datas Datas `json:"datas,omitempty"` }
DataPackStatus defines the observed state of DataPack
func (*DataPackStatus) DeepCopy ¶
func (in *DataPackStatus) DeepCopy() *DataPackStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPackStatus.
func (*DataPackStatus) DeepCopyInto ¶
func (in *DataPackStatus) DeepCopyInto(out *DataPackStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPackType ¶
type DataPackType string
const ( ImageBaseDataType DataPackType = "base" ImageGridDataType DataPackType = "grid" ImageDetailDataType DataPackType = "detail" )
data types
type Datas ¶
Datas in datapack status
func (Datas) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Datas.
func (Datas) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FullData ¶
type FullData struct { ImageInfo ImageInfo `json:"imageInfo,omitempty"` RepoInfo RepoInfo `json:"repoInfo,omitempty"` OrgInfo OrgInfo `json:"orgInfo,omitempty"` }
FullData will gen at reconcile beginning
func (*FullData) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FullData.
func (*FullData) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Image ¶
type Image struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ImageSpec `json:"spec,omitempty"` Status ImageStatus `json:"status,omitempty"` }
Image is the Schema for the images API
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Image) MulateFromOldobj ¶
type ImageBaseData ¶
type ImageBaseData struct { Name ImageName `json:"name,omitempty"` Type ImageType `json:"type,omitempty"` }
func (*ImageBaseData) DeepCopy ¶
func (in *ImageBaseData) DeepCopy() *ImageBaseData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBaseData.
func (*ImageBaseData) DeepCopyInto ¶
func (in *ImageBaseData) DeepCopyInto(out *ImageBaseData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageBaseData) New ¶
func (i *ImageBaseData) New(fd *FullData)
func (*ImageBaseData) ToData ¶
func (i *ImageBaseData) ToData() Data
type ImageDetailData ¶
type ImageDetailData struct { Name ImageName `json:"name,omitempty"` Type ImageType `json:"type,omitempty"` RepoName RepoName `json:"repoName,omitempty"` Rating int `json:"rating,omitempty"` DownloadCount int64 `json:"downloadCount,omitempty"` Icon string `json:"icon,omitempty"` Keywords []string `json:"keywords,omitempty"` Description string `json:"description,omitempty"` Docs string `json:"docs,omitempty"` ID string `json:"ID,omitempty"` Size int64 `json:"size,omitempty"` Arch string `json:"arch,omitempty"` Tags TagList `json:"tags,omitempty"` }
func (*ImageDetailData) DeepCopy ¶
func (in *ImageDetailData) DeepCopy() *ImageDetailData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDetailData.
func (*ImageDetailData) DeepCopyInto ¶
func (in *ImageDetailData) DeepCopyInto(out *ImageDetailData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageDetailData) New ¶
func (i *ImageDetailData) New(fd *FullData)
func (*ImageDetailData) ToData ¶
func (i *ImageDetailData) ToData() Data
type ImageDetailInfo ¶
type ImageDetailInfo struct { Keywords []string `json:"keywords,omitempty"` Description string `json:"description,omitempty"` Icon string `json:"icon,omitempty"` Docs string `json:"docs,omitempty"` // URL sealos cloud ui endpoint URL string `json:"url,omitempty"` // ID Arch Size CreateTime should use buildah inspect to get infor. ID string `json:"ID,omitempty"` Arch string `json:"arch,omitempty"` Size int64 `json:"size,omitempty"` //+kubebuilder:default:="1970-01-01T00:00:00Z" CreateTime metav1.Time `json:"creatTime"` // Actions todo Actions map[string]Action `json:"actions,omitempty"` }
ImageDetailInfo TODO: add limits for ImageDetailInfo
func (*ImageDetailInfo) DeepCopy ¶
func (in *ImageDetailInfo) DeepCopy() *ImageDetailInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDetailInfo.
func (*ImageDetailInfo) DeepCopyInto ¶
func (in *ImageDetailInfo) DeepCopyInto(out *ImageDetailInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageGridData ¶
type ImageGridData struct { Name ImageName `json:"name,omitempty"` Type ImageType `json:"type,omitempty"` RepoName RepoName `json:"repoName,omitempty"` Rating int `json:"rating,omitempty"` DownloadCount int64 `json:"downloadCount,omitempty"` Icon string `json:"icon,omitempty"` Keywords []string `json:"keywords,omitempty"` Size int64 `json:"size,omitempty"` Description string `json:"description,omitempty"` }
func (*ImageGridData) DeepCopy ¶
func (in *ImageGridData) DeepCopy() *ImageGridData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageGridData.
func (*ImageGridData) DeepCopyInto ¶
func (in *ImageGridData) DeepCopyInto(out *ImageGridData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageGridData) New ¶
func (i *ImageGridData) New(fd *FullData)
func (*ImageGridData) ToData ¶
func (i *ImageGridData) ToData() Data
type ImageInfo ¶
type ImageInfo ImageSpec
func (*ImageInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageInfo.
func (*ImageInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageList ¶
type ImageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Image `json:"items"` }
ImageList contains a list of Image
func (*ImageList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.
func (*ImageList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageMutator ¶
type ImageName ¶
type ImageName string
func (ImageName) GetMateName ¶
GetMateName TODO: change name to matename in a right way libring/mysql:v8.0.3 -> libring.mysql.v8.0.3
func (ImageName) ToMetaName ¶
func (ImageName) ToRepoName ¶
type ImageSpec ¶
type ImageSpec struct { //+kubebuilder:validation:Required Name ImageName `json:"name,omitempty"` Type ImageType `json:"type,omitempty"` DetailInfo ImageDetailInfo `json:"detail,omitempty"` }
ImageSpec defines the desired state of Image
func (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageStatus ¶
type ImageStatus struct { }
ImageStatus defines the observed state of Image
func (*ImageStatus) DeepCopy ¶
func (in *ImageStatus) DeepCopy() *ImageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus.
func (*ImageStatus) DeepCopyInto ¶
func (in *ImageStatus) DeepCopyInto(out *ImageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageValidator ¶
ImageValidator will validate Images change.
func (*ImageValidator) ValidateCreate ¶
func (*ImageValidator) ValidateDelete ¶
func (*ImageValidator) ValidateUpdate ¶
type OrgCombinator ¶
type OrgCombinator interface {
GetOrg() string
}
type OrgInfo ¶
type OrgInfo OrganizationStatus
func (*OrgInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrgInfo.
func (*OrgInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrgMutator ¶
type Organization ¶
type Organization struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OrganizationSpec `json:"spec,omitempty"` Status OrganizationStatus `json:"status,omitempty"` }
Organization is the Schema for the organizations API
func (*Organization) DeepCopy ¶
func (in *Organization) DeepCopy() *Organization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Organization.
func (*Organization) DeepCopyInto ¶
func (in *Organization) DeepCopyInto(out *Organization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Organization) DeepCopyObject ¶
func (in *Organization) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Organization) SetupWebhookWithManager ¶
func (r *Organization) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Organization) ValidateCreate ¶
func (r *Organization) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Organization) ValidateDelete ¶
func (r *Organization) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Organization) ValidateUpdate ¶
func (r *Organization) ValidateUpdate(_ runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OrganizationList ¶
type OrganizationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Organization `json:"items"` }
OrganizationList contains a list of Organization
func (*OrganizationList) DeepCopy ¶
func (in *OrganizationList) DeepCopy() *OrganizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationList.
func (*OrganizationList) DeepCopyInto ¶
func (in *OrganizationList) DeepCopyInto(out *OrganizationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrganizationList) DeepCopyObject ¶
func (in *OrganizationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OrganizationSpec ¶
type OrganizationSpec struct { //+kubebuilder:validation:Required //+kubebuilder:validation:MaxLength=1024 Name string `json:"name,omitempty"` //e.g: "labring" // Creator is the user who first create this org // update manager Creator string `json:"creator,omitempty"` // Manager can update org and org's repo/image Manager []string `json:"manager,omitempty"` }
OrganizationSpec defines the desired state of Organization
func (*OrganizationSpec) DeepCopy ¶
func (in *OrganizationSpec) DeepCopy() *OrganizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationSpec.
func (*OrganizationSpec) DeepCopyInto ¶
func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationStatus ¶
type OrganizationStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file //+kubebuilder:validation:Required //+kubebuilder:validation:MaxLength=1024 Name string `json:"name,omitempty"` //e.g: "labring" Repos []RepoName `json:"repos,omitempty"` }
OrganizationStatus defines the observed state of Organization
func (*OrganizationStatus) DeepCopy ¶
func (in *OrganizationStatus) DeepCopy() *OrganizationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationStatus.
func (*OrganizationStatus) DeepCopyInto ¶
func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoCombinator ¶
type RepoCombinator interface {
GetRepo() string
}
type RepoInfo ¶
type RepoInfo RepositoryStatus
func (*RepoInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoInfo.
func (*RepoInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoMutator ¶
type RepoName ¶
type RepoName string
func (RepoName) ToMetaName ¶
type RepoValidator ¶
RepoValidator will validate Repositories change.
func (*RepoValidator) ValidateCreate ¶
func (*RepoValidator) ValidateDelete ¶
func (*RepoValidator) ValidateUpdate ¶
type Repository ¶
type Repository struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RepositorySpec `json:"spec,omitempty"` Status RepositoryStatus `json:"status,omitempty"` }
Repository is the Schema for the repositories API
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Repository) DeepCopyObject ¶
func (in *Repository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Repository) SetupWebhookWithManager ¶
func (r *Repository) SetupWebhookWithManager(mgr ctrl.Manager) error
type RepositoryList ¶
type RepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Repository `json:"items"` }
RepositoryList contains a list of Repository
func (*RepositoryList) DeepCopy ¶
func (in *RepositoryList) DeepCopy() *RepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList.
func (*RepositoryList) DeepCopyInto ¶
func (in *RepositoryList) DeepCopyInto(out *RepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryList) DeepCopyObject ¶
func (in *RepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepositorySpec ¶
type RepositorySpec struct { //+kubebuilder:validation:Required Name RepoName `json:"name"` // e.g: "libring/mysql" //+kubebuilder:default:=false IsPrivate bool `json:"isPrivate"` }
RepositorySpec defines the desired state of Repository, Org automatically generated by Name.
func (*RepositorySpec) DeepCopy ¶
func (in *RepositorySpec) DeepCopy() *RepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpec.
func (*RepositorySpec) DeepCopyInto ¶
func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryStatus ¶
type RepositoryStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Name RepoName `json:"name,omitempty"` // e.g: "libring/mysql" DownloadCount int64 `json:"downloadCount,omitempty"` Tags TagList `json:"tags,omitempty"` LatestTag *TagData `json:"latestTag,omitempty"` }
RepositoryStatus defines the observed state of Repository
func (*RepositoryStatus) DeepCopy ¶
func (in *RepositoryStatus) DeepCopy() *RepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryStatus.
func (*RepositoryStatus) DeepCopyInto ¶
func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagCombinator ¶
type TagCombinator interface {
GetTag() string
}
type TagData ¶
type TagData struct { Name string `json:"name"` MetaName string `json:"metaName"` Size int64 `json:"size"` //+kubebuilder:default:="1970-01-01T00:00:00Z" CreateTime metav1.Time `json:"creatTime"` // todo inspect image and get time }
func (*TagData) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagData.
func (*TagData) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.