initproto

package
v2.8.0-pre Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: AGPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_bootstrapper_initproto_init_proto protoreflect.FileDescriptor

Functions

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

Types

type APIClient

type APIClient interface {
	Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*InitResponse, error)
}

APIClient is the client API for API service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIClient

func NewAPIClient(cc grpc.ClientConnInterface) APIClient

type APIServer

type APIServer interface {
	Init(context.Context, *InitRequest) (*InitResponse, error)
}

APIServer is the server API for API service.

type InitRequest

type InitRequest struct {
	KmsUri                 string                 `protobuf:"bytes,3,opt,name=kms_uri,json=kmsUri,proto3" json:"kms_uri,omitempty"`
	StorageUri             string                 `protobuf:"bytes,4,opt,name=storage_uri,json=storageUri,proto3" json:"storage_uri,omitempty"`
	CloudServiceAccountUri string                 `` /* 131-byte string literal not displayed */
	KubernetesVersion      string                 `protobuf:"bytes,8,opt,name=kubernetes_version,json=kubernetesVersion,proto3" json:"kubernetes_version,omitempty"`
	HelmDeployments        []byte                 `protobuf:"bytes,11,opt,name=helm_deployments,json=helmDeployments,proto3" json:"helm_deployments,omitempty"`
	ConformanceMode        bool                   `protobuf:"varint,14,opt,name=conformance_mode,json=conformanceMode,proto3" json:"conformance_mode,omitempty"`
	KubernetesComponents   []*KubernetesComponent `protobuf:"bytes,15,rep,name=kubernetes_components,json=kubernetesComponents,proto3" json:"kubernetes_components,omitempty"`
	InitSecret             []byte                 `protobuf:"bytes,16,opt,name=init_secret,json=initSecret,proto3" json:"init_secret,omitempty"`
	ClusterName            string                 `protobuf:"bytes,17,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	// contains filtered or unexported fields
}

func (*InitRequest) Descriptor deprecated

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

Deprecated: Use InitRequest.ProtoReflect.Descriptor instead.

func (*InitRequest) GetCloudServiceAccountUri

func (x *InitRequest) GetCloudServiceAccountUri() string

func (*InitRequest) GetClusterName added in v2.6.0

func (x *InitRequest) GetClusterName() string

func (*InitRequest) GetConformanceMode

func (x *InitRequest) GetConformanceMode() bool

func (*InitRequest) GetHelmDeployments

func (x *InitRequest) GetHelmDeployments() []byte

func (*InitRequest) GetInitSecret added in v2.3.0

func (x *InitRequest) GetInitSecret() []byte

func (*InitRequest) GetKmsUri

func (x *InitRequest) GetKmsUri() string

func (*InitRequest) GetKubernetesComponents added in v2.3.0

func (x *InitRequest) GetKubernetesComponents() []*KubernetesComponent

func (*InitRequest) GetKubernetesVersion

func (x *InitRequest) GetKubernetesVersion() string

func (*InitRequest) GetStorageUri

func (x *InitRequest) GetStorageUri() string

func (*InitRequest) ProtoMessage

func (*InitRequest) ProtoMessage()

func (*InitRequest) ProtoReflect

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

func (*InitRequest) Reset

func (x *InitRequest) Reset()

func (*InitRequest) String

func (x *InitRequest) String() string

type InitResponse

type InitResponse struct {
	Kubeconfig []byte `protobuf:"bytes,1,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"`
	OwnerId    []byte `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	ClusterId  []byte `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InitResponse) Descriptor deprecated

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

Deprecated: Use InitResponse.ProtoReflect.Descriptor instead.

func (*InitResponse) GetClusterId

func (x *InitResponse) GetClusterId() []byte

func (*InitResponse) GetKubeconfig

func (x *InitResponse) GetKubeconfig() []byte

func (*InitResponse) GetOwnerId

func (x *InitResponse) GetOwnerId() []byte

func (*InitResponse) ProtoMessage

func (*InitResponse) ProtoMessage()

func (*InitResponse) ProtoReflect

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

func (*InitResponse) Reset

func (x *InitResponse) Reset()

func (*InitResponse) String

func (x *InitResponse) String() string

type KubernetesComponent added in v2.3.0

type KubernetesComponent struct {
	Url         string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Hash        string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	InstallPath string `protobuf:"bytes,3,opt,name=install_path,json=installPath,proto3" json:"install_path,omitempty"`
	Extract     bool   `protobuf:"varint,4,opt,name=extract,proto3" json:"extract,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesComponent) Descriptor deprecated added in v2.3.0

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

Deprecated: Use KubernetesComponent.ProtoReflect.Descriptor instead.

func (*KubernetesComponent) GetExtract added in v2.3.0

func (x *KubernetesComponent) GetExtract() bool

func (*KubernetesComponent) GetHash added in v2.3.0

func (x *KubernetesComponent) GetHash() string

func (*KubernetesComponent) GetInstallPath added in v2.3.0

func (x *KubernetesComponent) GetInstallPath() string

func (*KubernetesComponent) GetUrl added in v2.3.0

func (x *KubernetesComponent) GetUrl() string

func (*KubernetesComponent) ProtoMessage added in v2.3.0

func (*KubernetesComponent) ProtoMessage()

func (*KubernetesComponent) ProtoReflect added in v2.3.0

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

func (*KubernetesComponent) Reset added in v2.3.0

func (x *KubernetesComponent) Reset()

func (*KubernetesComponent) String added in v2.3.0

func (x *KubernetesComponent) String() string

type UnimplementedAPIServer

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServer) Init

Jump to

Keyboard shortcuts

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