Documentation ¶
Index ¶
- Constants
- func APIKey(x *iam.APIKey, opts Options) string
- func APIKeyList(list []*iam.APIKey, opts Options) string
- func APIKeySecret(x *iam.APIKeySecret, opts Options) string
- func Backup(x *backup.Backup, opts Options) string
- func BackupList(list []*backup.Backup, opts Options) string
- func CACertificate(x *crypto.CACertificate, opts Options) string
- func CACertificateList(list []*crypto.CACertificate, opts Options) string
- func CLIVersion(version string, opts Options) string
- func CPUSizeList(list []*data.CPUSize, opts Options) string
- func Deployment(x *data.Deployment, creds *data.DeploymentCredentials, opts Options, ...) string
- func DeploymentList(list []*data.Deployment, opts Options) string
- func DisplaySuccess(opts Options)
- func Example(x *example.ExampleDataset, opts Options) string
- func ExampleDatasetInstallation(x *example.ExampleDatasetInstallation, opts Options) string
- func ExampleDatasetInstallationList(list []*example.ExampleDatasetInstallation, opts Options) string
- func ExampleList(list []*example.ExampleDataset, opts Options) string
- func Group(x *iam.Group, opts Options) string
- func GroupList(list []*iam.Group, opts Options) string
- func GroupMember(ctx context.Context, x string, iamc iam.IAMServiceClient, opts Options) string
- func GroupMemberList(ctx context.Context, list []string, iamc iam.IAMServiceClient, opts Options) string
- func IPWhitelist(x *security.IPWhitelist, opts Options) string
- func IPWhitelistList(list []*security.IPWhitelist, opts Options) string
- func NodeSizeList(list []*data.NodeSize, cpuList []*data.CPUSize, opts Options) string
- func Organization(x *rm.Organization, opts Options) string
- func OrganizationInvite(ctx context.Context, x *rm.OrganizationInvite, iamc iam.IAMServiceClient, ...) string
- func OrganizationInviteList(ctx context.Context, list []*rm.OrganizationInvite, iamc iam.IAMServiceClient, ...) string
- func OrganizationList(list []*rm.Organization, opts Options) string
- func OrganizationMember(ctx context.Context, x *rm.Member, iamc iam.IAMServiceClient, opts Options) string
- func OrganizationMemberList(ctx context.Context, list []*rm.Member, iamc iam.IAMServiceClient, ...) string
- func PermissionList(list []string, opts Options) string
- func Policy(ctx context.Context, x *iam.Policy, iamc iam.IAMServiceClient, opts Options) string
- func Project(x *rm.Project, opts Options) string
- func ProjectList(list []*rm.Project, opts Options) string
- func Provider(x *platform.Provider, opts Options) string
- func ProviderList(list []*platform.Provider, opts Options) string
- func Region(x *platform.Region, opts Options) string
- func RegionList(list []*platform.Region, opts Options) string
- func Role(x *iam.Role, opts Options) string
- func RoleList(list []*iam.Role, opts Options) string
- func ServerStatusList(list []*data.Deployment_ServerStatus, opts Options) string
- func ServersSpecLimits(x *data.ServersSpecLimits, opts Options) string
- func User(x *iam.User, opts Options) string
- func UserList(list []*iam.User, opts Options) string
- func Version(x *data.Version, opts Options) string
- func VersionList(list []*data.Version, defaultVersion *data.Version, opts Options) string
- type Options
Constants ¶
const (
// DefaultFormat specifies default value for Options.Format
DefaultFormat = formatTable
)
Variables ¶
This section is empty.
Functions ¶
func APIKeyList ¶
APIKeyList returns a list of api keys formatted for humans.
func APIKeySecret ¶
func APIKeySecret(x *iam.APIKeySecret, opts Options) string
APIKeySecret returns a single api key secret formatted for humans.
func BackupList ¶
BackupList returns a list of backups for a deployment.
func CACertificate ¶
func CACertificate(x *crypto.CACertificate, opts Options) string
CACertificate returns a single ca certificate formatted for humans.
func CACertificateList ¶
func CACertificateList(list []*crypto.CACertificate, opts Options) string
CACertificateList returns a list of ca certificates formatted for humans.
func CLIVersion ¶
CLIVersion returns a single version formatted for humans.
func CPUSizeList ¶
CPUSizeList returns a list of CPU sizes.
func Deployment ¶
func Deployment(x *data.Deployment, creds *data.DeploymentCredentials, opts Options, showRootpassword bool) string
Deployment returns a single deployment formatted for humans.
func DeploymentList ¶
func DeploymentList(list []*data.Deployment, opts Options) string
DeploymentList returns a list of deployments formatted for humans.
func DisplaySuccess ¶ added in v0.15.0
func DisplaySuccess(opts Options)
DisplaySuccess prints out the message 'Success!' after a command in case the formatter is table.
func Example ¶ added in v0.13.0
func Example(x *example.ExampleDataset, opts Options) string
Example returns a single example dataset formatted for humans.
func ExampleDatasetInstallation ¶ added in v0.13.0
func ExampleDatasetInstallation(x *example.ExampleDatasetInstallation, opts Options) string
ExampleDatasetInstallation returns a single installation formatted for humans.
func ExampleDatasetInstallationList ¶ added in v0.13.0
func ExampleDatasetInstallationList(list []*example.ExampleDatasetInstallation, opts Options) string
ExampleDatasetInstallationList returns a list of installations formatted for humans.
func ExampleList ¶ added in v0.13.0
func ExampleList(list []*example.ExampleDataset, opts Options) string
ExampleList returns a list of example datasets.
func GroupMember ¶
GroupMember returns a single organization member formatted for humans.
func GroupMemberList ¶
func GroupMemberList(ctx context.Context, list []string, iamc iam.IAMServiceClient, opts Options) string
GroupMemberList returns a list of group members formatted for humans.
func IPWhitelist ¶
func IPWhitelist(x *security.IPWhitelist, opts Options) string
IPWhitelist returns a single IP whitelist formatted for humans.
func IPWhitelistList ¶
func IPWhitelistList(list []*security.IPWhitelist, opts Options) string
IPWhitelistList returns a list of IP whitelists formatted for humans.
func NodeSizeList ¶
NodeSizeList returns a list of node sizes.
func Organization ¶
func Organization(x *rm.Organization, opts Options) string
Organization returns a single organization formatted for humans.
func OrganizationInvite ¶
func OrganizationInvite(ctx context.Context, x *rm.OrganizationInvite, iamc iam.IAMServiceClient, opts Options) string
OrganizationInvite returns a single organization member formatted for humans.
func OrganizationInviteList ¶
func OrganizationInviteList(ctx context.Context, list []*rm.OrganizationInvite, iamc iam.IAMServiceClient, opts Options) string
OrganizationInviteList returns a list of organization members formatted for humans.
func OrganizationList ¶
func OrganizationList(list []*rm.Organization, opts Options) string
OrganizationList returns a list of organizations formatted for humans.
func OrganizationMember ¶
func OrganizationMember(ctx context.Context, x *rm.Member, iamc iam.IAMServiceClient, opts Options) string
OrganizationMember returns a single organization member formatted for humans.
func OrganizationMemberList ¶
func OrganizationMemberList(ctx context.Context, list []*rm.Member, iamc iam.IAMServiceClient, opts Options) string
OrganizationMemberList returns a list of organization members formatted for humans.
func PermissionList ¶
PermissionList returns a list of permissions formatted for humans.
func ProjectList ¶
ProjectList returns a list of projects formatted for humans.
func ProviderList ¶
ProviderList returns a list of providers formatted for humans.
func RegionList ¶
RegionList returns a list of regions formatted for humans.
func ServerStatusList ¶ added in v0.15.0
func ServerStatusList(list []*data.Deployment_ServerStatus, opts Options) string
DeploymentList returns a list of deployments formatted for humans.
func ServersSpecLimits ¶
func ServersSpecLimits(x *data.ServersSpecLimits, opts Options) string
ServersSpecLimits returns a single server specification limts formatted for humans.
Types ¶
Source Files ¶
- apikey.go
- apikeysecret.go
- backup.go
- backup_list.go
- cacertificate.go
- cpu_size_list.go
- deployment.go
- display.go
- example.go
- example_installation.go
- format_bool.go
- formatter.go
- group.go
- group_member.go
- ipwhitelist.go
- node_size_list.go
- options.go
- organization.go
- organization_invite.go
- organization_member.go
- permission.go
- policy.go
- project.go
- provider.go
- region.go
- role.go
- server_spec_limits.go
- server_status.go
- tool_version.go
- user.go
- version.go