Documentation ¶
Index ¶
- Variables
- func EnsureBuildCluster(ctx context.Context, x api.API) (*buildkit.Overrides, error)
- func MakeConfig(cluster *api.KubernetesCluster) k8sapi.Config
- func Register()
- func RegisterClusterProvider()
- func RegisterRegistry()
- func SetupFlags(flags *pflag.FlagSet)
- func WaitKubeSystem(ctx context.Context, cluster *api.KubernetesCluster) error
- type PrebuiltCluster
- func (*PrebuiltCluster) Descriptor() ([]byte, []int)deprecated
- func (x *PrebuiltCluster) GetClusterId() string
- func (x *PrebuiltCluster) GetEphemeral() bool
- func (x *PrebuiltCluster) GetSerializedConfig() []byte
- func (*PrebuiltCluster) ProtoMessage()
- func (x *PrebuiltCluster) ProtoReflect() protoreflect.Message
- func (x *PrebuiltCluster) Reset()
- func (x *PrebuiltCluster) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeychain oci.Keychain = defaultKeychain{}
View Source
var File_internal_providers_nscloud_provider_proto protoreflect.FileDescriptor
Functions ¶
func EnsureBuildCluster ¶ added in v0.0.96
func MakeConfig ¶ added in v0.0.100
func MakeConfig(cluster *api.KubernetesCluster) k8sapi.Config
func RegisterClusterProvider ¶
func RegisterClusterProvider()
func RegisterRegistry ¶
func RegisterRegistry()
func SetupFlags ¶ added in v0.0.103
func WaitKubeSystem ¶ added in v0.0.151
func WaitKubeSystem(ctx context.Context, cluster *api.KubernetesCluster) error
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
Click to show internal directories.
Click to hide internal directories.