container_registry

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainerRegistry_CreateProjectForAccount_FullMethodName = "/ContainerRegistry/CreateProjectForAccount"
	ContainerRegistry_GetSvcCredentials_FullMethodName       = "/ContainerRegistry/GetSvcCredentials"
)

Variables

View Source
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)

View Source
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.

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) GetSvcCredentials

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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