sim

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 5 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 {
	SIM sacloud.SIMAPI
}

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
	ICCID       string
	PassCode    string

	Activate bool
	IMEI     string
	Carrier  []*sacloud.SIMNetworkOperatorConfig

	Client *APIClient
}

Builder SIMのセットアップを行う

func (*Builder) Build

func (b *Builder) Build(ctx context.Context) (*sacloud.SIM, error)

Build SIMの作成

func (*Builder) Update

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

Update SIMの更新

func (*Builder) Validate

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

Validate 値の検証

Jump to

Keyboard shortcuts

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