nscloud

package
v0.0.298 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultKeychain oci.Keychain = api.DefaultKeychain
View Source
var File_internal_providers_nscloud_provider_proto protoreflect.FileDescriptor

Functions

func EnsureBuildCluster added in v0.0.96

func EnsureBuildCluster(ctx context.Context, x api.API) (*buildkit.Overrides, error)

func Register added in v0.0.103

func Register()

func RegisterClusterProvider

func RegisterClusterProvider()

func RegisterRegistry

func RegisterRegistry()

func SetupFlags added in v0.0.103

func SetupFlags(flags *pflag.FlagSet, hide bool)

Types

type PrebuiltCluster

type PrebuiltCluster struct {
	ClusterId        string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	SerializedConfig []byte `protobuf:"bytes,2,opt,name=serialized_config,json=serializedConfig,proto3" json:"serialized_config,omitempty"` // Deprecated, always fetched now.
	Ephemeral        bool   `protobuf:"varint,3,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
	// contains filtered or unexported fields
}

func (*PrebuiltCluster) Descriptor deprecated

func (*PrebuiltCluster) Descriptor() ([]byte, []int)

Deprecated: Use PrebuiltCluster.ProtoReflect.Descriptor instead.

func (*PrebuiltCluster) GetClusterId

func (x *PrebuiltCluster) GetClusterId() string

func (*PrebuiltCluster) GetEphemeral

func (x *PrebuiltCluster) GetEphemeral() bool

func (*PrebuiltCluster) GetSerializedConfig

func (x *PrebuiltCluster) GetSerializedConfig() []byte

func (*PrebuiltCluster) ProtoMessage

func (*PrebuiltCluster) ProtoMessage()

func (*PrebuiltCluster) ProtoReflect

func (x *PrebuiltCluster) ProtoReflect() protoreflect.Message

func (*PrebuiltCluster) Reset

func (x *PrebuiltCluster) Reset()

func (*PrebuiltCluster) String

func (x *PrebuiltCluster) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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