registry

package
v2.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient struct {
	ContainerRegistry sacloud.ContainerRegistryAPI
}

APIClient builderが利用するAPIクライアント

func NewAPIClient

func NewAPIClient(caller sacloud.APICaller) *APIClient

NewAPIClient builderが利用するAPIクライアントを返す

type Builder

type Builder struct {
	Name           string
	Description    string
	Tags           types.Tags
	IconID         types.ID
	VirtualDomain  string
	AccessLevel    types.EContainerRegistryAccessLevel
	SubDomainLabel string
	Users          []*User

	SettingsHash string
	Client       *APIClient
}

Builder コンテナレジストリのセットアップを行う

func (*Builder) Build

Build コンテナレジストリの作成

func (*Builder) Update

func (b *Builder) Update(ctx context.Context, id types.ID) (*sacloud.ContainerRegistry, error)

Update コンテナレジストリの更新

func (*Builder) Validate

func (b *Builder) Validate(ctx context.Context) error

Validate 値の検証

type User

type User struct {
	UserName   string
	Password   string
	Permission types.EContainerRegistryPermission
}

User ユーザー

Jump to

Keyboard shortcuts

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