models

package
v1.0.133 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartAttrs

type ChartAttrs struct {
	ApiVersion  string `json:"ApiVersion"`
	AppVersion  string `json:"AppVersion"`
	Description string `json:"Description"`
	Name        string `json:"Name"`
	Type        string `json:"Type"`
	Version     string `json:"Version"`
}

type CreateNamespaceBasicRequest

type CreateNamespaceBasicRequest struct {
	Name string `json:"Name"`
}

type CreateNamespaceBasicResponse

type CreateNamespaceBasicResponse struct {
}

type CreateRepositoryBasicRequest

type CreateRepositoryBasicRequest struct {
	Namespace   string `json:"Namespace"`
	Name        string `json:"Name"`
	Type        string `json:"Type,omitempty"`
	Description string `json:"Description,omitempty"`
}

type CreateRepositoryBasicResponse

type CreateRepositoryBasicResponse struct {
}

type DeleteNamespaceBasicRequest

type DeleteNamespaceBasicRequest struct {
	Name string `json:"Name"`
}

type DeleteNamespaceBasicResponse

type DeleteNamespaceBasicResponse struct {
}

type DeleteRepositoryBasicRequest

type DeleteRepositoryBasicRequest struct {
	Namespace string `json:"Namespace"`
	Name      string `json:"Name"`
}

type DeleteRepositoryBasicResponse

type DeleteRepositoryBasicResponse struct {
}

type DeleteTagBasicRequest

type DeleteTagBasicRequest struct {
	Namespace string `json:"Namespace"`
	Repo      string `json:"Repo"`
	Name      string `json:"Name"`
}

type DeleteTagBasicResponse

type DeleteTagBasicResponse struct {
}

type GetAuthorizationTokenBasicRequest

type GetAuthorizationTokenBasicRequest struct {
}

type GetAuthorizationTokenBasicResponse

type GetAuthorizationTokenBasicResponse struct {
	AuthorizationToken string `json:"AuthorizationToken"`
	AuthorizationUser  string `json:"AuthorizationUser"`
	ExpireTime         string `json:"ExpireTime"`
	Domain             string `json:"Domain"`
	VpcDomain          string `json:"VpcDomain"`
}

type GetNamespaceBasicRequest

type GetNamespaceBasicRequest struct {
	Name string `json:"Name"`
}

type GetNamespaceBasicResponse

type GetNamespaceBasicResponse struct {
	Namespace
}

type GetRepositoryBasicRequest

type GetRepositoryBasicRequest struct {
	Namespace string `json:"Namespace"`
	Name      string `json:"Name"`
}

type GetRepositoryBasicResponse

type GetRepositoryBasicResponse struct {
	Repository
}

type GetTagAdditionBasicRequest

type GetTagAdditionBasicRequest struct {
	Namespace string `json:"Namespace"`
	Repo      string `json:"Repo"`
	Name      string `json:"Name"`
	Digest    string `json:"Digest"`
	Addition  string `json:"Addition"`
}

type GetTagAdditionBasicResponse

type GetTagAdditionBasicResponse struct {
	Contents string `json:"Contents"`
}

type GetTagBasicRequest

type GetTagBasicRequest struct {
	Namespace string `json:"Namespace"`
	Repo      string `json:"Repo"`
	Name      string `json:"Name"`
}

type GetTagBasicResponse

type GetTagBasicResponse struct {
	Namespace string `json:"Namespace"`
	Repo      string `json:"Repo"`
	Tag       Tag    `json:"Tag"`
}

type ImageAttrs

type ImageAttrs struct {
	Author       string `json:"Author"`
	Architecture string `json:"Architecture"`
	Os           string `json:"Os"`
}

type KVPair

type KVPair struct {
	Key   string `json:"Key"`
	Value string `json:"Value"`
}

type ListNamespacesBasicRequest

type ListNamespacesBasicRequest struct {
	Page
	Filter NamespaceFilter `json:"Filter,omitempty"`
}

type ListNamespacesBasicResponse

type ListNamespacesBasicResponse struct {
	Total         int64       `json:"Total"`
	Items         []Namespace `json:"Items"`
	CreatedAmount int64       `json:"CreatedAmount"`
}

type ListRepositoriesBasicRequest

type ListRepositoriesBasicRequest struct {
	Page
	Filter *RepositoryFilter `json:"Filter,omitempty"`
}

type ListRepositoriesBasicResponse

type ListRepositoriesBasicResponse struct {
	Total         int64        `json:"Total"`
	Domain        string       `json:"Domain"`
	Items         []Repository `json:"Items"`
	CreatedAmount int64        `json:"CreatedAmount"`
	VpcDomain     string       `json:"VpcDomain"`
}

type ListTagsBasicRequest

type ListTagsBasicRequest struct {
	Namespace string `json:"Namespace"`
	Repo      string `json:"Repo"`
	Type      string `json:"Type"`
	Page
	Filter TagFilter `json:"Filter,omitempty"`
}

type ListTagsBasicResponse

type ListTagsBasicResponse struct {
	Total     int64  `json:"Total"`
	Namespace string `json:"Namespace"`
	Repo      string `json:"Repo"`
	Items     []Tag  `json:"Items"`
}

type Namespace

type Namespace struct {
	Name       string     `json:"Name"`
	CreateTime string     `json:"CreateTime"`
	RepoAmount int64      `json:"RepoAmount"`
	ScanPolicy ScanPolicy `json:"ScanPolicy"`
}

type NamespaceFilter

type NamespaceFilter struct {
	Name string `json:"Name,omitempty"`
}

type Page

type Page struct {
	PageNumber int64 `json:"PageNumber,omitempty"`
	PageSize   int64 `json:"PageSize,omitempty"`
}

type Repository

type Repository struct {
	Namespace   string `json:"Namespace"`
	Name        string `json:"Name"`
	Type        string `json:"Type"`
	CreateTime  string `json:"CreateTime"`
	UpdateTime  string `json:"UpdateTime"`
	Description string `json:"Description,omitempty"`
}

type RepositoryFilter

type RepositoryFilter struct {
	Namespace string `json:"Namespace,omitempty"`
	Name      string `json:"Name,omitempty"`
	Type      string `json:"Type,omitempty"`
}

type ScanPolicy

type ScanPolicy struct {
	Cron   string `json:"Cron"`
	Status string `json:"Status"`
}

type ScanResult

type ScanResult struct {
	Status  string      `json:"Status"`
	Summary ScanSummary `json:"Summary"`
}

type ScanSummary

type ScanSummary struct {
	CriticalAmount int64 `json:"CriticalAmount"`
	HighAmount     int64 `json:"HighAmount"`
	MediumAmount   int64 `json:"MediumAmount"`
	LowAmount      int64 `json:"LowAmount"`
	TotalAmount    int64 `json:"TotalAmount"`
}

type Tag

type Tag struct {
	Type       string      `json:"Type"`
	Name       string      `json:"Name"`
	Digest     string      `json:"Digest"`
	PushTime   string      `json:"PushTime"`
	SizeByte   int64       `json:"SizeByte"`
	ScanResult *ScanResult `json:"ScanResult,omitempty"`
	ImageAttrs *ImageAttrs `json:"ImageAttrs,omitempty"`
	ChartAttrs `json:"ChartAttrs,omitempty"`
}

type TagFilter

type TagFilter struct {
	Name string `json:"Name,omitempty"`
}

type UpdateRepositoryBasicRequest

type UpdateRepositoryBasicRequest struct {
	Namespace   string `json:"Namespace"`
	Name        string `json:"Name"`
	Type        string `json:"Type,omitempty"`
	Description string `json:"Description,omitempty"`
}

type UpdateRepositoryBasicResponse

type UpdateRepositoryBasicResponse struct {
}

type ValidateNamespaceBasicRequest

type ValidateNamespaceBasicRequest struct {
	Name string `json:"Name"`
}

type ValidateNamespaceBasicResponse

type ValidateNamespaceBasicResponse struct {
	Existed bool `json:"Existed"`
}

type ValidateRepositoryBasicRequest

type ValidateRepositoryBasicRequest struct {
	Namespace string `json:"Namespace"`
	Name      string `json:"Name"`
}

type ValidateRepositoryBasicResponse

type ValidateRepositoryBasicResponse struct {
	Existed bool `json:"Existed"`
}

Jump to

Keyboard shortcuts

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