Documentation ¶
Index ¶
- Constants
- Variables
- type ImageRegistry
- func (p *ImageRegistry) CloseRetry()
- func (p *ImageRegistry) CreateNamespaceBasic(req *CreateNamespaceBasicRequest) (*CreateNamespaceBasicResponse, error)
- func (p *ImageRegistry) CreateRepositoryBasic(req *CreateRepositoryBasicRequest) (*CreateRepositoryBasicResponse, error)
- func (p *ImageRegistry) DeleteNamespaceBasic(req *DeleteNamespaceBasicRequest) (*DeleteNamespaceBasicResponse, error)
- func (p *ImageRegistry) DeleteRepositoryBasic(req *DeleteRepositoryBasicRequest) (*DeleteRepositoryBasicResponse, error)
- func (p *ImageRegistry) DeleteTagBasic(req *DeleteTagBasicRequest) (*DeleteTagBasicResponse, error)
- func (p *ImageRegistry) GetAuthorizationTokenBasic(req *GetAuthorizationTokenBasicRequest) (*GetAuthorizationTokenBasicResponse, error)
- func (p *ImageRegistry) GetNamespaceBasic(req *GetNamespaceBasicRequest) (*GetNamespaceBasicResponse, error)
- func (p *ImageRegistry) GetRepositoryBasic(req *GetRepositoryBasicRequest) (*GetRepositoryBasicResponse, error)
- func (p *ImageRegistry) GetTagAdditionBasic(req *GetTagAdditionBasicRequest) (*GetTagAdditionBasicResponse, error)
- func (p *ImageRegistry) GetTagBasic(req *GetTagBasicRequest) (*GetTagBasicResponse, error)
- func (p *ImageRegistry) ListNamespacesBasic(req *ListNamespacesBasicRequest) (*ListNamespacesBasicResponse, error)
- func (p *ImageRegistry) ListRepositoriesBasic(req *ListRepositoriesBasicRequest) (*ListRepositoriesBasicResponse, error)
- func (p *ImageRegistry) ListTagsBasic(req *ListTagsBasicRequest) (*ListTagsBasicResponse, error)
- func (p *ImageRegistry) Retry() bool
- func (p *ImageRegistry) UpdateRepositoryBasic(req *UpdateRepositoryBasicRequest) (*UpdateRepositoryBasicResponse, error)
- func (p *ImageRegistry) ValidateNamespaceBasic(req *ValidateNamespaceBasicRequest) (*ValidateNamespaceBasicResponse, error)
- func (p *ImageRegistry) ValidateRepositoryBasic(req *ValidateRepositoryBasicRequest) (*ValidateRepositoryBasicResponse, error)
Constants ¶
View Source
const ( DefaultRegion = base.RegionCnNorth1 ServiceName = "cr" )
Variables ¶
View Source
var ( ServiceInfo = &base.ServiceInfo{ Timeout: 5 * time.Second, Host: "open.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionCnNorth1, Service: ServiceName, }, } ApiInfoList = map[string]*base.ApiInfo{ "DeleteNamespaceBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteNamespaceBasic"}, "Version": []string{"2021-03-03"}, }, }, "CreateNamespaceBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateNamespaceBasic"}, "Version": []string{"2021-03-03"}, }, }, "ValidateNamespaceBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ValidateNamespaceBasic"}, "Version": []string{"2021-03-03"}, }, }, "GetNamespaceBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetNamespaceBasic"}, "Version": []string{"2021-03-03"}, }, }, "ListNamespacesBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListNamespacesBasic"}, "Version": []string{"2021-03-03"}, }, }, "ListRepositoriesBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListRepositoriesBasic"}, "Version": []string{"2021-03-03"}, }, }, "GetRepositoryBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetRepositoryBasic"}, "Version": []string{"2021-03-03"}, }, }, "CreateRepositoryBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateRepositoryBasic"}, "Version": []string{"2021-03-03"}, }, }, "UpdateRepositoryBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateRepositoryBasic"}, "Version": []string{"2021-03-03"}, }, }, "DeleteRepositoryBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteRepositoryBasic"}, "Version": []string{"2021-03-03"}, }, }, "ValidateRepositoryBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ValidateRepositoryBasic"}, "Version": []string{"2021-03-03"}, }, }, "ListTagsBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListTagsBasic"}, "Version": []string{"2021-03-03"}, }, }, "GetTagBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetTagBasic"}, "Version": []string{"2021-03-03"}, }, }, "GetTagAdditionBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetTagAdditionBasic"}, "Version": []string{"2021-03-03"}, }, }, "DeleteTagBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteTagBasic"}, "Version": []string{"2021-03-03"}, }, }, "GetAuthorizationTokenBasic": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetAuthorizationTokenBasic"}, "Version": []string{"2021-03-03"}, }, }, } )
View Source
var DefaultInstance = NewInstance()
Functions ¶
This section is empty.
Types ¶
type ImageRegistry ¶
func NewInstance ¶
func NewInstance() *ImageRegistry
func (*ImageRegistry) CloseRetry ¶
func (p *ImageRegistry) CloseRetry()
func (*ImageRegistry) CreateNamespaceBasic ¶
func (p *ImageRegistry) CreateNamespaceBasic(req *CreateNamespaceBasicRequest) (*CreateNamespaceBasicResponse, error)
func (*ImageRegistry) CreateRepositoryBasic ¶
func (p *ImageRegistry) CreateRepositoryBasic(req *CreateRepositoryBasicRequest) (*CreateRepositoryBasicResponse, error)
func (*ImageRegistry) DeleteNamespaceBasic ¶
func (p *ImageRegistry) DeleteNamespaceBasic(req *DeleteNamespaceBasicRequest) (*DeleteNamespaceBasicResponse, error)
func (*ImageRegistry) DeleteRepositoryBasic ¶
func (p *ImageRegistry) DeleteRepositoryBasic(req *DeleteRepositoryBasicRequest) (*DeleteRepositoryBasicResponse, error)
func (*ImageRegistry) DeleteTagBasic ¶
func (p *ImageRegistry) DeleteTagBasic(req *DeleteTagBasicRequest) (*DeleteTagBasicResponse, error)
func (*ImageRegistry) GetAuthorizationTokenBasic ¶
func (p *ImageRegistry) GetAuthorizationTokenBasic(req *GetAuthorizationTokenBasicRequest) (*GetAuthorizationTokenBasicResponse, error)
func (*ImageRegistry) GetNamespaceBasic ¶
func (p *ImageRegistry) GetNamespaceBasic(req *GetNamespaceBasicRequest) (*GetNamespaceBasicResponse, error)
func (*ImageRegistry) GetRepositoryBasic ¶
func (p *ImageRegistry) GetRepositoryBasic(req *GetRepositoryBasicRequest) (*GetRepositoryBasicResponse, error)
func (*ImageRegistry) GetTagAdditionBasic ¶
func (p *ImageRegistry) GetTagAdditionBasic(req *GetTagAdditionBasicRequest) (*GetTagAdditionBasicResponse, error)
func (*ImageRegistry) GetTagBasic ¶
func (p *ImageRegistry) GetTagBasic(req *GetTagBasicRequest) (*GetTagBasicResponse, error)
func (*ImageRegistry) ListNamespacesBasic ¶
func (p *ImageRegistry) ListNamespacesBasic(req *ListNamespacesBasicRequest) (*ListNamespacesBasicResponse, error)
func (*ImageRegistry) ListRepositoriesBasic ¶
func (p *ImageRegistry) ListRepositoriesBasic(req *ListRepositoriesBasicRequest) (*ListRepositoriesBasicResponse, error)
func (*ImageRegistry) ListTagsBasic ¶
func (p *ImageRegistry) ListTagsBasic(req *ListTagsBasicRequest) (*ListTagsBasicResponse, error)
func (*ImageRegistry) Retry ¶
func (p *ImageRegistry) Retry() bool
func (*ImageRegistry) UpdateRepositoryBasic ¶
func (p *ImageRegistry) UpdateRepositoryBasic(req *UpdateRepositoryBasicRequest) (*UpdateRepositoryBasicResponse, error)
func (*ImageRegistry) ValidateNamespaceBasic ¶
func (p *ImageRegistry) ValidateNamespaceBasic(req *ValidateNamespaceBasicRequest) (*ValidateNamespaceBasicResponse, error)
func (*ImageRegistry) ValidateRepositoryBasic ¶
func (p *ImageRegistry) ValidateRepositoryBasic(req *ValidateRepositoryBasicRequest) (*ValidateRepositoryBasicResponse, error)
Click to show internal directories.
Click to hide internal directories.