Documentation ¶
Index ¶
- Variables
- func RegisterBuildServer(s grpc.ServiceRegistrar, srv BuildServer)
- func RegisterDeployServer(s grpc.ServiceRegistrar, srv DeployServer)
- func RegisterManifestServiceServer(s grpc.ServiceRegistrar, srv ManifestServiceServer)
- type ApplyManifestRequest
- func (*ApplyManifestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyManifestRequest) GetAnnotations() []*Metadata
- func (x *ApplyManifestRequest) GetGroup() *Manifest
- func (x *ApplyManifestRequest) GetKind() *Manifest
- func (x *ApplyManifestRequest) GetLabel() []*Metadata
- func (x *ApplyManifestRequest) GetName() *Metadata
- func (x *ApplyManifestRequest) GetNamespace() *Metadata
- func (x *ApplyManifestRequest) GetVersion() *Manifest
- func (*ApplyManifestRequest) ProtoMessage()
- func (x *ApplyManifestRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyManifestRequest) Reset()
- func (x *ApplyManifestRequest) String() string
- type BuildClient
- type BuildDockerfileReply
- func (*BuildDockerfileReply) Descriptor() ([]byte, []int)deprecated
- func (x *BuildDockerfileReply) GetSucceed() bool
- func (*BuildDockerfileReply) ProtoMessage()
- func (x *BuildDockerfileReply) ProtoReflect() protoreflect.Message
- func (x *BuildDockerfileReply) Reset()
- func (x *BuildDockerfileReply) String() string
- type BuildDockerfileRequest
- func (*BuildDockerfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildDockerfileRequest) GetImg() *Image
- func (x *BuildDockerfileRequest) GetProject() string
- func (*BuildDockerfileRequest) ProtoMessage()
- func (x *BuildDockerfileRequest) ProtoReflect() protoreflect.Message
- func (x *BuildDockerfileRequest) Reset()
- func (x *BuildDockerfileRequest) String() string
- type BuildServer
- type ConfigMap
- type DeleteManifestRequest
- func (*DeleteManifestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteManifestRequest) GetGroup() *Manifest
- func (x *DeleteManifestRequest) GetKind() *Manifest
- func (x *DeleteManifestRequest) GetName() *Metadata
- func (x *DeleteManifestRequest) GetNamespace() *Metadata
- func (x *DeleteManifestRequest) GetVersion() *Manifest
- func (*DeleteManifestRequest) ProtoMessage()
- func (x *DeleteManifestRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteManifestRequest) Reset()
- func (x *DeleteManifestRequest) String() string
- type DeployClient
- type DeployConfigMapRequest
- func (*DeployConfigMapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployConfigMapRequest) GetConfigmap() *ConfigMap
- func (x *DeployConfigMapRequest) GetNamespace() string
- func (x *DeployConfigMapRequest) GetPusher() string
- func (*DeployConfigMapRequest) ProtoMessage()
- func (x *DeployConfigMapRequest) ProtoReflect() protoreflect.Message
- func (x *DeployConfigMapRequest) Reset()
- func (x *DeployConfigMapRequest) String() string
- type DeployPodRequest
- type DeployReply
- type DeployRequest
- type DeploySecretRequest
- func (*DeploySecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeploySecretRequest) GetNamespace() string
- func (x *DeploySecretRequest) GetPusher() string
- func (x *DeploySecretRequest) GetSecrets() []*Secret
- func (*DeploySecretRequest) ProtoMessage()
- func (x *DeploySecretRequest) ProtoReflect() protoreflect.Message
- func (x *DeploySecretRequest) Reset()
- func (x *DeploySecretRequest) String() string
- type DeployServer
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetName() string
- func (x *Image) GetPusher() string
- func (x *Image) GetRepository() string
- func (x *Image) GetVersion() string
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- type Labels
- type Manifest
- func (*Manifest) Descriptor() ([]byte, []int)deprecated
- func (x *Manifest) GetGroup() string
- func (x *Manifest) GetKind() string
- func (x *Manifest) GetVersion() string
- func (*Manifest) ProtoMessage()
- func (x *Manifest) ProtoReflect() protoreflect.Message
- func (x *Manifest) Reset()
- func (x *Manifest) String() string
- type ManifestServiceClient
- type ManifestServiceServer
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetAnnotations() []string
- func (x *Metadata) GetLabel() []*Labels
- func (x *Metadata) GetName() string
- func (x *Metadata) GetNamespace() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type Pod
- func (*Pod) Descriptor() ([]byte, []int)deprecated
- func (x *Pod) GetContainerPort() string
- func (x *Pod) GetImage() string
- func (x *Pod) GetName() string
- func (x *Pod) GetNamespace() string
- func (*Pod) ProtoMessage()
- func (x *Pod) ProtoReflect() protoreflect.Message
- func (x *Pod) Reset()
- func (x *Pod) String() string
- type Secret
- type Spec
- type SuccessReply
- type UnimplementedBuildServer
- type UnimplementedDeployServer
- func (UnimplementedDeployServer) Deploy(context.Context, *DeployRequest) (*DeployReply, error)
- func (UnimplementedDeployServer) DeployConfigMap(context.Context, *DeployConfigMapRequest) (*emptypb.Empty, error)
- func (UnimplementedDeployServer) DeployPod(context.Context, *DeployPodRequest) (*emptypb.Empty, error)
- func (UnimplementedDeployServer) DeploySecret(context.Context, *DeploySecretRequest) (*emptypb.Empty, error)
- type UnimplementedManifestServiceServer
- type UnsafeBuildServer
- type UnsafeDeployServer
- type UnsafeManifestServiceServer
Constants ¶
This section is empty.
Variables ¶
var Build_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Build", HandlerType: (*BuildServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BuildDockerfile", Handler: _Build_BuildDockerfile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "deploy-manager/pkg/proto/build.proto", }
Build_ServiceDesc is the grpc.ServiceDesc for Build service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Deploy_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Deploy", HandlerType: (*DeployServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Deploy", Handler: _Deploy_Deploy_Handler, }, { MethodName: "DeployPod", Handler: _Deploy_DeployPod_Handler, }, { MethodName: "DeploySecret", Handler: _Deploy_DeploySecret_Handler, }, { MethodName: "DeployConfigMap", Handler: _Deploy_DeployConfigMap_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "deploy-manager/pkg/proto/deploy.proto", }
Deploy_ServiceDesc is the grpc.ServiceDesc for Deploy service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_deploy_manager_pkg_proto_build_proto protoreflect.FileDescriptor
var File_deploy_manager_pkg_proto_deploy_proto protoreflect.FileDescriptor
var File_deploy_manager_pkg_proto_manifest_proto protoreflect.FileDescriptor
var ManifestService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.ManifestService", HandlerType: (*ManifestServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ApplyManifest", Handler: _ManifestService_ApplyManifest_Handler, }, { MethodName: "DeleteManifest", Handler: _ManifestService_DeleteManifest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "deploy-manager/pkg/proto/manifest.proto", }
ManifestService_ServiceDesc is the grpc.ServiceDesc for ManifestService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBuildServer ¶
func RegisterBuildServer(s grpc.ServiceRegistrar, srv BuildServer)
func RegisterDeployServer ¶
func RegisterDeployServer(s grpc.ServiceRegistrar, srv DeployServer)
func RegisterManifestServiceServer ¶
func RegisterManifestServiceServer(s grpc.ServiceRegistrar, srv ManifestServiceServer)
Types ¶
type ApplyManifestRequest ¶
type ApplyManifestRequest struct { Group *Manifest `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version *Manifest `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind *Manifest `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Name *Metadata `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Namespace *Metadata `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` Annotations []*Metadata `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty"` Label []*Metadata `protobuf:"bytes,7,rep,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*ApplyManifestRequest) Descriptor
deprecated
func (*ApplyManifestRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyManifestRequest.ProtoReflect.Descriptor instead.
func (*ApplyManifestRequest) GetAnnotations ¶
func (x *ApplyManifestRequest) GetAnnotations() []*Metadata
func (*ApplyManifestRequest) GetGroup ¶
func (x *ApplyManifestRequest) GetGroup() *Manifest
func (*ApplyManifestRequest) GetKind ¶
func (x *ApplyManifestRequest) GetKind() *Manifest
func (*ApplyManifestRequest) GetLabel ¶
func (x *ApplyManifestRequest) GetLabel() []*Metadata
func (*ApplyManifestRequest) GetName ¶
func (x *ApplyManifestRequest) GetName() *Metadata
func (*ApplyManifestRequest) GetNamespace ¶
func (x *ApplyManifestRequest) GetNamespace() *Metadata
func (*ApplyManifestRequest) GetVersion ¶
func (x *ApplyManifestRequest) GetVersion() *Manifest
func (*ApplyManifestRequest) ProtoMessage ¶
func (*ApplyManifestRequest) ProtoMessage()
func (*ApplyManifestRequest) ProtoReflect ¶
func (x *ApplyManifestRequest) ProtoReflect() protoreflect.Message
func (*ApplyManifestRequest) Reset ¶
func (x *ApplyManifestRequest) Reset()
func (*ApplyManifestRequest) String ¶
func (x *ApplyManifestRequest) String() string
type BuildClient ¶
type BuildClient interface {
BuildDockerfile(ctx context.Context, in *BuildDockerfileRequest, opts ...grpc.CallOption) (*BuildDockerfileReply, error)
}
BuildClient is the client API for Build service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBuildClient ¶
func NewBuildClient(cc grpc.ClientConnInterface) BuildClient
type BuildDockerfileReply ¶
type BuildDockerfileReply struct { Succeed bool `protobuf:"varint,1,opt,name=Succeed,proto3" json:"Succeed,omitempty"` // contains filtered or unexported fields }
func (*BuildDockerfileReply) Descriptor
deprecated
func (*BuildDockerfileReply) Descriptor() ([]byte, []int)
Deprecated: Use BuildDockerfileReply.ProtoReflect.Descriptor instead.
func (*BuildDockerfileReply) GetSucceed ¶
func (x *BuildDockerfileReply) GetSucceed() bool
func (*BuildDockerfileReply) ProtoMessage ¶
func (*BuildDockerfileReply) ProtoMessage()
func (*BuildDockerfileReply) ProtoReflect ¶
func (x *BuildDockerfileReply) ProtoReflect() protoreflect.Message
func (*BuildDockerfileReply) Reset ¶
func (x *BuildDockerfileReply) Reset()
func (*BuildDockerfileReply) String ¶
func (x *BuildDockerfileReply) String() string
type BuildDockerfileRequest ¶
type BuildDockerfileRequest struct { Img *Image `protobuf:"bytes,1,opt,name=img,proto3" json:"img,omitempty"` Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*BuildDockerfileRequest) Descriptor
deprecated
func (*BuildDockerfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildDockerfileRequest.ProtoReflect.Descriptor instead.
func (*BuildDockerfileRequest) GetImg ¶
func (x *BuildDockerfileRequest) GetImg() *Image
func (*BuildDockerfileRequest) GetProject ¶
func (x *BuildDockerfileRequest) GetProject() string
func (*BuildDockerfileRequest) ProtoMessage ¶
func (*BuildDockerfileRequest) ProtoMessage()
func (*BuildDockerfileRequest) ProtoReflect ¶
func (x *BuildDockerfileRequest) ProtoReflect() protoreflect.Message
func (*BuildDockerfileRequest) Reset ¶
func (x *BuildDockerfileRequest) Reset()
func (*BuildDockerfileRequest) String ¶
func (x *BuildDockerfileRequest) String() string
type BuildServer ¶
type BuildServer interface { BuildDockerfile(context.Context, *BuildDockerfileRequest) (*BuildDockerfileReply, error) // contains filtered or unexported methods }
BuildServer is the server API for Build service. All implementations must embed UnimplementedBuildServer for forward compatibility
type ConfigMap ¶
type ConfigMap struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` FileContent string `protobuf:"bytes,2,opt,name=fileContent,proto3" json:"fileContent,omitempty"` // contains filtered or unexported fields }
func (*ConfigMap) Descriptor
deprecated
func (*ConfigMap) GetFileContent ¶
func (*ConfigMap) GetFilename ¶
func (*ConfigMap) ProtoMessage ¶
func (*ConfigMap) ProtoMessage()
func (*ConfigMap) ProtoReflect ¶
func (x *ConfigMap) ProtoReflect() protoreflect.Message
type DeleteManifestRequest ¶
type DeleteManifestRequest struct { Group *Manifest `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version *Manifest `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind *Manifest `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Name *Metadata `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Namespace *Metadata `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*DeleteManifestRequest) Descriptor
deprecated
func (*DeleteManifestRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteManifestRequest.ProtoReflect.Descriptor instead.
func (*DeleteManifestRequest) GetGroup ¶
func (x *DeleteManifestRequest) GetGroup() *Manifest
func (*DeleteManifestRequest) GetKind ¶
func (x *DeleteManifestRequest) GetKind() *Manifest
func (*DeleteManifestRequest) GetName ¶
func (x *DeleteManifestRequest) GetName() *Metadata
func (*DeleteManifestRequest) GetNamespace ¶
func (x *DeleteManifestRequest) GetNamespace() *Metadata
func (*DeleteManifestRequest) GetVersion ¶
func (x *DeleteManifestRequest) GetVersion() *Manifest
func (*DeleteManifestRequest) ProtoMessage ¶
func (*DeleteManifestRequest) ProtoMessage()
func (*DeleteManifestRequest) ProtoReflect ¶
func (x *DeleteManifestRequest) ProtoReflect() protoreflect.Message
func (*DeleteManifestRequest) Reset ¶
func (x *DeleteManifestRequest) Reset()
func (*DeleteManifestRequest) String ¶
func (x *DeleteManifestRequest) String() string
type DeployClient ¶
type DeployClient interface { Deploy(ctx context.Context, in *DeployRequest, opts ...grpc.CallOption) (*DeployReply, error) DeployPod(ctx context.Context, in *DeployPodRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeploySecret(ctx context.Context, in *DeploySecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeployConfigMap(ctx context.Context, in *DeployConfigMapRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
DeployClient is the client API for Deploy service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeployClient ¶
func NewDeployClient(cc grpc.ClientConnInterface) DeployClient
type DeployConfigMapRequest ¶
type DeployConfigMapRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Pusher string `protobuf:"bytes,2,opt,name=pusher,proto3" json:"pusher,omitempty"` Configmap *ConfigMap `protobuf:"bytes,3,opt,name=configmap,proto3" json:"configmap,omitempty"` // contains filtered or unexported fields }
func (*DeployConfigMapRequest) Descriptor
deprecated
func (*DeployConfigMapRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployConfigMapRequest.ProtoReflect.Descriptor instead.
func (*DeployConfigMapRequest) GetConfigmap ¶
func (x *DeployConfigMapRequest) GetConfigmap() *ConfigMap
func (*DeployConfigMapRequest) GetNamespace ¶
func (x *DeployConfigMapRequest) GetNamespace() string
func (*DeployConfigMapRequest) GetPusher ¶
func (x *DeployConfigMapRequest) GetPusher() string
func (*DeployConfigMapRequest) ProtoMessage ¶
func (*DeployConfigMapRequest) ProtoMessage()
func (*DeployConfigMapRequest) ProtoReflect ¶
func (x *DeployConfigMapRequest) ProtoReflect() protoreflect.Message
func (*DeployConfigMapRequest) Reset ¶
func (x *DeployConfigMapRequest) Reset()
func (*DeployConfigMapRequest) String ¶
func (x *DeployConfigMapRequest) String() string
type DeployPodRequest ¶
type DeployPodRequest struct { Pod *Pod `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"` // contains filtered or unexported fields }
func (*DeployPodRequest) Descriptor
deprecated
func (*DeployPodRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployPodRequest.ProtoReflect.Descriptor instead.
func (*DeployPodRequest) GetPod ¶
func (x *DeployPodRequest) GetPod() *Pod
func (*DeployPodRequest) ProtoMessage ¶
func (*DeployPodRequest) ProtoMessage()
func (*DeployPodRequest) ProtoReflect ¶
func (x *DeployPodRequest) ProtoReflect() protoreflect.Message
func (*DeployPodRequest) Reset ¶
func (x *DeployPodRequest) Reset()
func (*DeployPodRequest) String ¶
func (x *DeployPodRequest) String() string
type DeployReply ¶
type DeployReply struct { Succeed bool `protobuf:"varint,1,opt,name=Succeed,proto3" json:"Succeed,omitempty"` // contains filtered or unexported fields }
func (*DeployReply) Descriptor
deprecated
func (*DeployReply) Descriptor() ([]byte, []int)
Deprecated: Use DeployReply.ProtoReflect.Descriptor instead.
func (*DeployReply) GetSucceed ¶
func (x *DeployReply) GetSucceed() bool
func (*DeployReply) ProtoMessage ¶
func (*DeployReply) ProtoMessage()
func (*DeployReply) ProtoReflect ¶
func (x *DeployReply) ProtoReflect() protoreflect.Message
func (*DeployReply) Reset ¶
func (x *DeployReply) Reset()
func (*DeployReply) String ¶
func (x *DeployReply) String() string
type DeployRequest ¶
type DeployRequest struct { Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // contains filtered or unexported fields }
func (*DeployRequest) Descriptor
deprecated
func (*DeployRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployRequest.ProtoReflect.Descriptor instead.
func (*DeployRequest) GetFilepath ¶
func (x *DeployRequest) GetFilepath() string
func (*DeployRequest) ProtoMessage ¶
func (*DeployRequest) ProtoMessage()
func (*DeployRequest) ProtoReflect ¶
func (x *DeployRequest) ProtoReflect() protoreflect.Message
func (*DeployRequest) Reset ¶
func (x *DeployRequest) Reset()
func (*DeployRequest) String ¶
func (x *DeployRequest) String() string
type DeploySecretRequest ¶
type DeploySecretRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Pusher string `protobuf:"bytes,2,opt,name=pusher,proto3" json:"pusher,omitempty"` Secrets []*Secret `protobuf:"bytes,3,rep,name=secrets,proto3" json:"secrets,omitempty"` // contains filtered or unexported fields }
func (*DeploySecretRequest) Descriptor
deprecated
func (*DeploySecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeploySecretRequest.ProtoReflect.Descriptor instead.
func (*DeploySecretRequest) GetNamespace ¶
func (x *DeploySecretRequest) GetNamespace() string
func (*DeploySecretRequest) GetPusher ¶
func (x *DeploySecretRequest) GetPusher() string
func (*DeploySecretRequest) GetSecrets ¶
func (x *DeploySecretRequest) GetSecrets() []*Secret
func (*DeploySecretRequest) ProtoMessage ¶
func (*DeploySecretRequest) ProtoMessage()
func (*DeploySecretRequest) ProtoReflect ¶
func (x *DeploySecretRequest) ProtoReflect() protoreflect.Message
func (*DeploySecretRequest) Reset ¶
func (x *DeploySecretRequest) Reset()
func (*DeploySecretRequest) String ¶
func (x *DeploySecretRequest) String() string
type DeployServer ¶
type DeployServer interface { Deploy(context.Context, *DeployRequest) (*DeployReply, error) DeployPod(context.Context, *DeployPodRequest) (*emptypb.Empty, error) DeploySecret(context.Context, *DeploySecretRequest) (*emptypb.Empty, error) DeployConfigMap(context.Context, *DeployConfigMapRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
DeployServer is the server API for Deploy service. All implementations must embed UnimplementedDeployServer for forward compatibility
type Image ¶
type Image struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Pusher string `protobuf:"bytes,3,opt,name=pusher,proto3" json:"pusher,omitempty"` Repository string `protobuf:"bytes,4,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) GetRepository ¶
func (*Image) GetVersion ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type Labels ¶
type Labels struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Labels) Descriptor
deprecated
func (*Labels) ProtoMessage ¶
func (*Labels) ProtoMessage()
func (*Labels) ProtoReflect ¶
func (x *Labels) ProtoReflect() protoreflect.Message
type Manifest ¶
type Manifest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*Manifest) Descriptor
deprecated
func (*Manifest) GetVersion ¶
func (*Manifest) ProtoMessage ¶
func (*Manifest) ProtoMessage()
func (*Manifest) ProtoReflect ¶
func (x *Manifest) ProtoReflect() protoreflect.Message
type ManifestServiceClient ¶
type ManifestServiceClient interface { ApplyManifest(ctx context.Context, in *ApplyManifestRequest, opts ...grpc.CallOption) (*SuccessReply, error) DeleteManifest(ctx context.Context, in *DeleteManifestRequest, opts ...grpc.CallOption) (*SuccessReply, error) }
ManifestServiceClient is the client API for ManifestService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewManifestServiceClient ¶
func NewManifestServiceClient(cc grpc.ClientConnInterface) ManifestServiceClient
type ManifestServiceServer ¶
type ManifestServiceServer interface { ApplyManifest(context.Context, *ApplyManifestRequest) (*SuccessReply, error) DeleteManifest(context.Context, *DeleteManifestRequest) (*SuccessReply, error) // contains filtered or unexported methods }
ManifestServiceServer is the server API for ManifestService service. All implementations must embed UnimplementedManifestServiceServer for forward compatibility
type Metadata ¶
type Metadata struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Annotations []string `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` Label []*Labels `protobuf:"bytes,4,rep,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetAnnotations ¶
func (*Metadata) GetNamespace ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Pod ¶
type Pod struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` ContainerPort string `protobuf:"bytes,4,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"` // contains filtered or unexported fields }
func (*Pod) Descriptor
deprecated
func (*Pod) GetContainerPort ¶
func (*Pod) GetNamespace ¶
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
func (*Pod) ProtoReflect ¶
func (x *Pod) ProtoReflect() protoreflect.Message
type Secret ¶
type Secret struct { Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Secret) Descriptor
deprecated
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
type Spec ¶
type Spec struct { Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Spec) Descriptor
deprecated
func (*Spec) ProtoMessage ¶
func (*Spec) ProtoMessage()
func (*Spec) ProtoReflect ¶
func (x *Spec) ProtoReflect() protoreflect.Message
type SuccessReply ¶
type SuccessReply struct { Succeed bool `protobuf:"varint,1,opt,name=Succeed,proto3" json:"Succeed,omitempty"` // contains filtered or unexported fields }
func (*SuccessReply) Descriptor
deprecated
func (*SuccessReply) Descriptor() ([]byte, []int)
Deprecated: Use SuccessReply.ProtoReflect.Descriptor instead.
func (*SuccessReply) GetSucceed ¶
func (x *SuccessReply) GetSucceed() bool
func (*SuccessReply) ProtoMessage ¶
func (*SuccessReply) ProtoMessage()
func (*SuccessReply) ProtoReflect ¶
func (x *SuccessReply) ProtoReflect() protoreflect.Message
func (*SuccessReply) Reset ¶
func (x *SuccessReply) Reset()
func (*SuccessReply) String ¶
func (x *SuccessReply) String() string
type UnimplementedBuildServer ¶
type UnimplementedBuildServer struct { }
UnimplementedBuildServer must be embedded to have forward compatible implementations.
func (UnimplementedBuildServer) BuildDockerfile ¶
func (UnimplementedBuildServer) BuildDockerfile(context.Context, *BuildDockerfileRequest) (*BuildDockerfileReply, error)
type UnimplementedDeployServer ¶
type UnimplementedDeployServer struct { }
UnimplementedDeployServer must be embedded to have forward compatible implementations.
func (UnimplementedDeployServer) Deploy ¶
func (UnimplementedDeployServer) Deploy(context.Context, *DeployRequest) (*DeployReply, error)
func (UnimplementedDeployServer) DeployConfigMap ¶
func (UnimplementedDeployServer) DeployConfigMap(context.Context, *DeployConfigMapRequest) (*emptypb.Empty, error)
func (UnimplementedDeployServer) DeployPod ¶
func (UnimplementedDeployServer) DeployPod(context.Context, *DeployPodRequest) (*emptypb.Empty, error)
func (UnimplementedDeployServer) DeploySecret ¶
func (UnimplementedDeployServer) DeploySecret(context.Context, *DeploySecretRequest) (*emptypb.Empty, error)
type UnimplementedManifestServiceServer ¶
type UnimplementedManifestServiceServer struct { }
UnimplementedManifestServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedManifestServiceServer) ApplyManifest ¶
func (UnimplementedManifestServiceServer) ApplyManifest(context.Context, *ApplyManifestRequest) (*SuccessReply, error)
func (UnimplementedManifestServiceServer) DeleteManifest ¶
func (UnimplementedManifestServiceServer) DeleteManifest(context.Context, *DeleteManifestRequest) (*SuccessReply, error)
type UnsafeBuildServer ¶
type UnsafeBuildServer interface {
// contains filtered or unexported methods
}
UnsafeBuildServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BuildServer will result in compilation errors.
type UnsafeDeployServer ¶
type UnsafeDeployServer interface {
// contains filtered or unexported methods
}
UnsafeDeployServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeployServer will result in compilation errors.
type UnsafeManifestServiceServer ¶
type UnsafeManifestServiceServer interface {
// contains filtered or unexported methods
}
UnsafeManifestServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ManifestServiceServer will result in compilation errors.