container_registry

package
v1.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ContainerRegistry_CreateReadOnlyCredential_FullMethodName = "/ContainerRegistry/CreateReadOnlyCredential"
)

Variables

View Source
var ContainerRegistry_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ContainerRegistry",
	HandlerType: (*ContainerRegistryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateReadOnlyCredential",
			Handler:    _ContainerRegistry_CreateReadOnlyCredential_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 {
	// rpc CreateProjectForAccount(CreateProjectIn) returns (CreateProjectOut);
	// rpc GetSvcCredentials(GetSvcCredentialsIn) returns (GetSvcCredentialsOut);
	CreateReadOnlyCredential(ctx context.Context, in *CreateReadOnlyCredentialIn, opts ...grpc.CallOption) (*CreateReadOnlyCredentialOut, 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 {
	// rpc CreateProjectForAccount(CreateProjectIn) returns (CreateProjectOut);
	// rpc GetSvcCredentials(GetSvcCredentialsIn) returns (GetSvcCredentialsOut);
	CreateReadOnlyCredential(context.Context, *CreateReadOnlyCredentialIn) (*CreateReadOnlyCredentialOut, error)
	// contains filtered or unexported methods
}

ContainerRegistryServer is the server API for ContainerRegistry service. All implementations must embed UnimplementedContainerRegistryServer for forward compatibility

type CreateReadOnlyCredentialIn

type CreateReadOnlyCredentialIn struct {
	AccountName      string `protobuf:"bytes,1,opt,name=accountName,proto3" json:"accountName,omitempty"`
	UserId           string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	CredentialName   string `protobuf:"bytes,3,opt,name=credentialName,proto3" json:"credentialName,omitempty"`
	RegistryUsername string `protobuf:"bytes,4,opt,name=registryUsername,proto3" json:"registryUsername,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateReadOnlyCredentialIn) Descriptor deprecated

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

Deprecated: Use CreateReadOnlyCredentialIn.ProtoReflect.Descriptor instead.

func (*CreateReadOnlyCredentialIn) GetAccountName

func (x *CreateReadOnlyCredentialIn) GetAccountName() string

func (*CreateReadOnlyCredentialIn) GetCredentialName

func (x *CreateReadOnlyCredentialIn) GetCredentialName() string

func (*CreateReadOnlyCredentialIn) GetRegistryUsername

func (x *CreateReadOnlyCredentialIn) GetRegistryUsername() string

func (*CreateReadOnlyCredentialIn) GetUserId

func (x *CreateReadOnlyCredentialIn) GetUserId() string

func (*CreateReadOnlyCredentialIn) ProtoMessage

func (*CreateReadOnlyCredentialIn) ProtoMessage()

func (*CreateReadOnlyCredentialIn) ProtoReflect

func (*CreateReadOnlyCredentialIn) Reset

func (x *CreateReadOnlyCredentialIn) Reset()

func (*CreateReadOnlyCredentialIn) String

func (x *CreateReadOnlyCredentialIn) String() string

type CreateReadOnlyCredentialOut

type CreateReadOnlyCredentialOut struct {

	// dcokerconfigjson is as per format: https://kubernetes.io/docs/concepts/configuration/secret/#docker-config-secrets
	DockerConfigJson []byte `protobuf:"bytes,1,opt,name=dockerConfigJson,proto3" json:"dockerConfigJson,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateReadOnlyCredentialOut) Descriptor deprecated

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

Deprecated: Use CreateReadOnlyCredentialOut.ProtoReflect.Descriptor instead.

func (*CreateReadOnlyCredentialOut) GetDockerConfigJson

func (x *CreateReadOnlyCredentialOut) GetDockerConfigJson() []byte

func (*CreateReadOnlyCredentialOut) ProtoMessage

func (*CreateReadOnlyCredentialOut) ProtoMessage()

func (*CreateReadOnlyCredentialOut) ProtoReflect

func (*CreateReadOnlyCredentialOut) Reset

func (x *CreateReadOnlyCredentialOut) Reset()

func (*CreateReadOnlyCredentialOut) String

func (x *CreateReadOnlyCredentialOut) String() string

type UnimplementedContainerRegistryServer

type UnimplementedContainerRegistryServer struct {
}

UnimplementedContainerRegistryServer must be embedded to have forward compatible implementations.

func (UnimplementedContainerRegistryServer) CreateReadOnlyCredential

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.

Jump to

Keyboard shortcuts

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