Documentation ¶
Index ¶
- Variables
- func RegisterAPIServer(s *grpc.Server, srv APIServer)
- type APIClient
- type APIServer
- type API_InitClient
- type API_InitServer
- type InitFailureResponse
- func (*InitFailureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitFailureResponse) GetError() string
- func (*InitFailureResponse) ProtoMessage()
- func (x *InitFailureResponse) ProtoReflect() protoreflect.Message
- func (x *InitFailureResponse) Reset()
- func (x *InitFailureResponse) String() string
- type InitRequest
- func (*InitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitRequest) GetApiserverCertSans() []string
- func (x *InitRequest) GetClusterName() string
- func (x *InitRequest) GetConformanceMode() bool
- func (x *InitRequest) GetInitSecret() []byte
- func (x *InitRequest) GetKmsUri() string
- func (x *InitRequest) GetKubernetesComponents() []*components.Component
- func (x *InitRequest) GetKubernetesVersion() string
- func (x *InitRequest) GetMeasurementSalt() []byte
- func (x *InitRequest) GetServiceCidr() string
- func (x *InitRequest) GetStorageUri() string
- func (*InitRequest) ProtoMessage()
- func (x *InitRequest) ProtoReflect() protoreflect.Message
- func (x *InitRequest) Reset()
- func (x *InitRequest) String() string
- type InitResponse
- func (*InitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitResponse) GetInitFailure() *InitFailureResponse
- func (x *InitResponse) GetInitSuccess() *InitSuccessResponse
- func (m *InitResponse) GetKind() isInitResponse_Kind
- func (x *InitResponse) GetLog() *LogResponseType
- func (*InitResponse) ProtoMessage()
- func (x *InitResponse) ProtoReflect() protoreflect.Message
- func (x *InitResponse) Reset()
- func (x *InitResponse) String() string
- type InitResponse_InitFailure
- type InitResponse_InitSuccess
- type InitResponse_Log
- type InitSuccessResponse
- func (*InitSuccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitSuccessResponse) GetClusterId() []byte
- func (x *InitSuccessResponse) GetKubeconfig() []byte
- func (x *InitSuccessResponse) GetOwnerId() []byte
- func (*InitSuccessResponse) ProtoMessage()
- func (x *InitSuccessResponse) ProtoReflect() protoreflect.Message
- func (x *InitSuccessResponse) Reset()
- func (x *InitSuccessResponse) String() string
- type KubernetesComponent
- func (*KubernetesComponent) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesComponent) GetExtract() bool
- func (x *KubernetesComponent) GetHash() string
- func (x *KubernetesComponent) GetInstallPath() string
- func (x *KubernetesComponent) GetUrl() string
- func (*KubernetesComponent) ProtoMessage()
- func (x *KubernetesComponent) ProtoReflect() protoreflect.Message
- func (x *KubernetesComponent) Reset()
- func (x *KubernetesComponent) String() string
- type LogResponseType
- type UnimplementedAPIServer
Constants ¶
This section is empty.
Variables ¶
var File_bootstrapper_initproto_init_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIServer ¶
Types ¶
type APIClient ¶
type APIClient interface {
Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (API_InitClient, 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(*InitRequest, API_InitServer) error
}
APIServer is the server API for API service.
type API_InitClient ¶ added in v2.8.0
type API_InitClient interface { Recv() (*InitResponse, error) grpc.ClientStream }
type API_InitServer ¶ added in v2.8.0
type API_InitServer interface { Send(*InitResponse) error grpc.ServerStream }
type InitFailureResponse ¶ added in v2.8.0
type InitFailureResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*InitFailureResponse) Descriptor
deprecated
added in
v2.8.0
func (*InitFailureResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitFailureResponse.ProtoReflect.Descriptor instead.
func (*InitFailureResponse) GetError ¶ added in v2.8.0
func (x *InitFailureResponse) GetError() string
func (*InitFailureResponse) ProtoMessage ¶ added in v2.8.0
func (*InitFailureResponse) ProtoMessage()
func (*InitFailureResponse) ProtoReflect ¶ added in v2.8.0
func (x *InitFailureResponse) ProtoReflect() protoreflect.Message
func (*InitFailureResponse) Reset ¶ added in v2.8.0
func (x *InitFailureResponse) Reset()
func (*InitFailureResponse) String ¶ added in v2.8.0
func (x *InitFailureResponse) String() string
type InitRequest ¶
type InitRequest struct { KmsUri string `protobuf:"bytes,1,opt,name=kms_uri,json=kmsUri,proto3" json:"kms_uri,omitempty"` StorageUri string `protobuf:"bytes,2,opt,name=storage_uri,json=storageUri,proto3" json:"storage_uri,omitempty"` MeasurementSalt []byte `protobuf:"bytes,3,opt,name=measurement_salt,json=measurementSalt,proto3" json:"measurement_salt,omitempty"` KubernetesVersion string `protobuf:"bytes,5,opt,name=kubernetes_version,json=kubernetesVersion,proto3" json:"kubernetes_version,omitempty"` ConformanceMode bool `protobuf:"varint,6,opt,name=conformance_mode,json=conformanceMode,proto3" json:"conformance_mode,omitempty"` KubernetesComponents []*components.Component `protobuf:"bytes,7,rep,name=kubernetes_components,json=kubernetesComponents,proto3" json:"kubernetes_components,omitempty"` InitSecret []byte `protobuf:"bytes,8,opt,name=init_secret,json=initSecret,proto3" json:"init_secret,omitempty"` ClusterName string `protobuf:"bytes,9,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` ApiserverCertSans []string `protobuf:"bytes,10,rep,name=apiserver_cert_sans,json=apiserverCertSans,proto3" json:"apiserver_cert_sans,omitempty"` ServiceCidr string `protobuf:"bytes,11,opt,name=service_cidr,json=serviceCidr,proto3" json:"service_cidr,omitempty"` // contains filtered or unexported fields }
func (*InitRequest) Descriptor
deprecated
func (*InitRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitRequest.ProtoReflect.Descriptor instead.
func (*InitRequest) GetApiserverCertSans ¶ added in v2.10.0
func (x *InitRequest) GetApiserverCertSans() []string
func (*InitRequest) GetClusterName ¶ added in v2.6.0
func (x *InitRequest) GetClusterName() string
func (*InitRequest) GetConformanceMode ¶
func (x *InitRequest) GetConformanceMode() bool
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() []*components.Component
func (*InitRequest) GetKubernetesVersion ¶
func (x *InitRequest) GetKubernetesVersion() string
func (*InitRequest) GetMeasurementSalt ¶ added in v2.10.0
func (x *InitRequest) GetMeasurementSalt() []byte
func (*InitRequest) GetServiceCidr ¶ added in v2.14.0
func (x *InitRequest) GetServiceCidr() 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 { // Types that are assignable to Kind: // // *InitResponse_InitSuccess // *InitResponse_InitFailure // *InitResponse_Log Kind isInitResponse_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*InitResponse) Descriptor
deprecated
func (*InitResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitResponse.ProtoReflect.Descriptor instead.
func (*InitResponse) GetInitFailure ¶ added in v2.8.0
func (x *InitResponse) GetInitFailure() *InitFailureResponse
func (*InitResponse) GetInitSuccess ¶ added in v2.8.0
func (x *InitResponse) GetInitSuccess() *InitSuccessResponse
func (*InitResponse) GetKind ¶ added in v2.8.0
func (m *InitResponse) GetKind() isInitResponse_Kind
func (*InitResponse) GetLog ¶ added in v2.8.0
func (x *InitResponse) GetLog() *LogResponseType
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 InitResponse_InitFailure ¶ added in v2.8.0
type InitResponse_InitFailure struct {
InitFailure *InitFailureResponse `protobuf:"bytes,2,opt,name=init_failure,json=initFailure,proto3,oneof"`
}
type InitResponse_InitSuccess ¶ added in v2.8.0
type InitResponse_InitSuccess struct {
InitSuccess *InitSuccessResponse `protobuf:"bytes,1,opt,name=init_success,json=initSuccess,proto3,oneof"`
}
type InitResponse_Log ¶ added in v2.8.0
type InitResponse_Log struct {
Log *LogResponseType `protobuf:"bytes,3,opt,name=log,proto3,oneof"`
}
type InitSuccessResponse ¶ added in v2.8.0
type InitSuccessResponse 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 (*InitSuccessResponse) Descriptor
deprecated
added in
v2.8.0
func (*InitSuccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitSuccessResponse.ProtoReflect.Descriptor instead.
func (*InitSuccessResponse) GetClusterId ¶ added in v2.8.0
func (x *InitSuccessResponse) GetClusterId() []byte
func (*InitSuccessResponse) GetKubeconfig ¶ added in v2.8.0
func (x *InitSuccessResponse) GetKubeconfig() []byte
func (*InitSuccessResponse) GetOwnerId ¶ added in v2.8.0
func (x *InitSuccessResponse) GetOwnerId() []byte
func (*InitSuccessResponse) ProtoMessage ¶ added in v2.8.0
func (*InitSuccessResponse) ProtoMessage()
func (*InitSuccessResponse) ProtoReflect ¶ added in v2.8.0
func (x *InitSuccessResponse) ProtoReflect() protoreflect.Message
func (*InitSuccessResponse) Reset ¶ added in v2.8.0
func (x *InitSuccessResponse) Reset()
func (*InitSuccessResponse) String ¶ added in v2.8.0
func (x *InitSuccessResponse) 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 LogResponseType ¶ added in v2.8.0
type LogResponseType struct { Log []byte `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*LogResponseType) Descriptor
deprecated
added in
v2.8.0
func (*LogResponseType) Descriptor() ([]byte, []int)
Deprecated: Use LogResponseType.ProtoReflect.Descriptor instead.
func (*LogResponseType) GetLog ¶ added in v2.8.0
func (x *LogResponseType) GetLog() []byte
func (*LogResponseType) ProtoMessage ¶ added in v2.8.0
func (*LogResponseType) ProtoMessage()
func (*LogResponseType) ProtoReflect ¶ added in v2.8.0
func (x *LogResponseType) ProtoReflect() protoreflect.Message
func (*LogResponseType) Reset ¶ added in v2.8.0
func (x *LogResponseType) Reset()
func (*LogResponseType) String ¶ added in v2.8.0
func (x *LogResponseType) String() string
type UnimplementedAPIServer ¶
type UnimplementedAPIServer struct { }
UnimplementedAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServer) Init ¶
func (*UnimplementedAPIServer) Init(*InitRequest, API_InitServer) error