Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterContainerRegistryServer(s grpc.ServiceRegistrar, srv ContainerRegistryServer)
- type ContainerRegistryClient
- type ContainerRegistryServer
- type CreateProjectIn
- type CreateProjectOut
- type GetSvcCredentialsIn
- func (*GetSvcCredentialsIn) Descriptor() ([]byte, []int)deprecated
- func (x *GetSvcCredentialsIn) GetAccountName() string
- func (*GetSvcCredentialsIn) ProtoMessage()
- func (x *GetSvcCredentialsIn) ProtoReflect() protoreflect.Message
- func (x *GetSvcCredentialsIn) Reset()
- func (x *GetSvcCredentialsIn) String() string
- type GetSvcCredentialsOut
- func (*GetSvcCredentialsOut) Descriptor() ([]byte, []int)deprecated
- func (x *GetSvcCredentialsOut) GetPassword() string
- func (x *GetSvcCredentialsOut) GetUserName() string
- func (*GetSvcCredentialsOut) ProtoMessage()
- func (x *GetSvcCredentialsOut) ProtoReflect() protoreflect.Message
- func (x *GetSvcCredentialsOut) Reset()
- func (x *GetSvcCredentialsOut) String() string
- type UnimplementedContainerRegistryServer
- type UnsafeContainerRegistryServer
Constants ¶
const ( ContainerRegistry_CreateProjectForAccount_FullMethodName = "/ContainerRegistry/CreateProjectForAccount" ContainerRegistry_GetSvcCredentials_FullMethodName = "/ContainerRegistry/GetSvcCredentials" )
Variables ¶
var ContainerRegistry_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ContainerRegistry", HandlerType: (*ContainerRegistryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateProjectForAccount", Handler: _ContainerRegistry_CreateProjectForAccount_Handler, }, { MethodName: "GetSvcCredentials", Handler: _ContainerRegistry_GetSvcCredentials_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "container-registry.proto", }
ContainerRegistry_ServiceDesc is the grpc.ServiceDesc for ContainerRegistry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_container_registry_proto protoreflect.FileDescriptor
Functions ¶
func RegisterContainerRegistryServer ¶
func RegisterContainerRegistryServer(s grpc.ServiceRegistrar, srv ContainerRegistryServer)
Types ¶
type ContainerRegistryClient ¶
type ContainerRegistryClient interface { CreateProjectForAccount(ctx context.Context, in *CreateProjectIn, opts ...grpc.CallOption) (*CreateProjectOut, error) GetSvcCredentials(ctx context.Context, in *GetSvcCredentialsIn, opts ...grpc.CallOption) (*GetSvcCredentialsOut, error) }
ContainerRegistryClient is the client API for ContainerRegistry 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 NewContainerRegistryClient ¶
func NewContainerRegistryClient(cc grpc.ClientConnInterface) ContainerRegistryClient
type ContainerRegistryServer ¶
type ContainerRegistryServer interface { CreateProjectForAccount(context.Context, *CreateProjectIn) (*CreateProjectOut, error) GetSvcCredentials(context.Context, *GetSvcCredentialsIn) (*GetSvcCredentialsOut, error) // contains filtered or unexported methods }
ContainerRegistryServer is the server API for ContainerRegistry service. All implementations must embed UnimplementedContainerRegistryServer for forward compatibility
type CreateProjectIn ¶
type CreateProjectIn struct { AccountName string `protobuf:"bytes,1,opt,name=accountName,proto3" json:"accountName,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectIn) Descriptor
deprecated
func (*CreateProjectIn) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectIn.ProtoReflect.Descriptor instead.
func (*CreateProjectIn) GetAccountName ¶
func (x *CreateProjectIn) GetAccountName() string
func (*CreateProjectIn) ProtoMessage ¶
func (*CreateProjectIn) ProtoMessage()
func (*CreateProjectIn) ProtoReflect ¶
func (x *CreateProjectIn) ProtoReflect() protoreflect.Message
func (*CreateProjectIn) Reset ¶
func (x *CreateProjectIn) Reset()
func (*CreateProjectIn) String ¶
func (x *CreateProjectIn) String() string
type CreateProjectOut ¶
type CreateProjectOut struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectOut) Descriptor
deprecated
func (*CreateProjectOut) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectOut.ProtoReflect.Descriptor instead.
func (*CreateProjectOut) GetSuccess ¶
func (x *CreateProjectOut) GetSuccess() bool
func (*CreateProjectOut) ProtoMessage ¶
func (*CreateProjectOut) ProtoMessage()
func (*CreateProjectOut) ProtoReflect ¶
func (x *CreateProjectOut) ProtoReflect() protoreflect.Message
func (*CreateProjectOut) Reset ¶
func (x *CreateProjectOut) Reset()
func (*CreateProjectOut) String ¶
func (x *CreateProjectOut) String() string
type GetSvcCredentialsIn ¶
type GetSvcCredentialsIn struct { AccountName string `protobuf:"bytes,1,opt,name=accountName,proto3" json:"accountName,omitempty"` // contains filtered or unexported fields }
func (*GetSvcCredentialsIn) Descriptor
deprecated
func (*GetSvcCredentialsIn) Descriptor() ([]byte, []int)
Deprecated: Use GetSvcCredentialsIn.ProtoReflect.Descriptor instead.
func (*GetSvcCredentialsIn) GetAccountName ¶
func (x *GetSvcCredentialsIn) GetAccountName() string
func (*GetSvcCredentialsIn) ProtoMessage ¶
func (*GetSvcCredentialsIn) ProtoMessage()
func (*GetSvcCredentialsIn) ProtoReflect ¶
func (x *GetSvcCredentialsIn) ProtoReflect() protoreflect.Message
func (*GetSvcCredentialsIn) Reset ¶
func (x *GetSvcCredentialsIn) Reset()
func (*GetSvcCredentialsIn) String ¶
func (x *GetSvcCredentialsIn) String() string
type GetSvcCredentialsOut ¶
type GetSvcCredentialsOut struct { UserName string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*GetSvcCredentialsOut) Descriptor
deprecated
func (*GetSvcCredentialsOut) Descriptor() ([]byte, []int)
Deprecated: Use GetSvcCredentialsOut.ProtoReflect.Descriptor instead.
func (*GetSvcCredentialsOut) GetPassword ¶
func (x *GetSvcCredentialsOut) GetPassword() string
func (*GetSvcCredentialsOut) GetUserName ¶
func (x *GetSvcCredentialsOut) GetUserName() string
func (*GetSvcCredentialsOut) ProtoMessage ¶
func (*GetSvcCredentialsOut) ProtoMessage()
func (*GetSvcCredentialsOut) ProtoReflect ¶
func (x *GetSvcCredentialsOut) ProtoReflect() protoreflect.Message
func (*GetSvcCredentialsOut) Reset ¶
func (x *GetSvcCredentialsOut) Reset()
func (*GetSvcCredentialsOut) String ¶
func (x *GetSvcCredentialsOut) String() string
type UnimplementedContainerRegistryServer ¶
type UnimplementedContainerRegistryServer struct { }
UnimplementedContainerRegistryServer must be embedded to have forward compatible implementations.
func (UnimplementedContainerRegistryServer) CreateProjectForAccount ¶
func (UnimplementedContainerRegistryServer) CreateProjectForAccount(context.Context, *CreateProjectIn) (*CreateProjectOut, error)
func (UnimplementedContainerRegistryServer) GetSvcCredentials ¶
func (UnimplementedContainerRegistryServer) GetSvcCredentials(context.Context, *GetSvcCredentialsIn) (*GetSvcCredentialsOut, error)
type UnsafeContainerRegistryServer ¶
type UnsafeContainerRegistryServer interface {
// contains filtered or unexported methods
}
UnsafeContainerRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContainerRegistryServer will result in compilation errors.