Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterContainerRegistryServer(s grpc.ServiceRegistrar, srv ContainerRegistryServer)
- type ContainerRegistryClient
- type ContainerRegistryServer
- type CreateReadOnlyCredentialIn
- func (*CreateReadOnlyCredentialIn) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReadOnlyCredentialIn) GetAccountName() string
- func (x *CreateReadOnlyCredentialIn) GetCredentialName() string
- func (x *CreateReadOnlyCredentialIn) GetRegistryUsername() string
- func (x *CreateReadOnlyCredentialIn) GetUserId() string
- func (*CreateReadOnlyCredentialIn) ProtoMessage()
- func (x *CreateReadOnlyCredentialIn) ProtoReflect() protoreflect.Message
- func (x *CreateReadOnlyCredentialIn) Reset()
- func (x *CreateReadOnlyCredentialIn) String() string
- type CreateReadOnlyCredentialOut
- func (*CreateReadOnlyCredentialOut) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReadOnlyCredentialOut) GetDockerConfigJson() []byte
- func (*CreateReadOnlyCredentialOut) ProtoMessage()
- func (x *CreateReadOnlyCredentialOut) ProtoReflect() protoreflect.Message
- func (x *CreateReadOnlyCredentialOut) Reset()
- func (x *CreateReadOnlyCredentialOut) String() string
- type UnimplementedContainerRegistryServer
- type UnsafeContainerRegistryServer
Constants ¶
const (
ContainerRegistry_CreateReadOnlyCredential_FullMethodName = "/ContainerRegistry/CreateReadOnlyCredential"
)
Variables ¶
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)
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.
func NewContainerRegistryClient ¶
func NewContainerRegistryClient(cc grpc.ClientConnInterface) ContainerRegistryClient
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 (x *CreateReadOnlyCredentialIn) ProtoReflect() protoreflect.Message
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 (x *CreateReadOnlyCredentialOut) ProtoReflect() protoreflect.Message
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 ¶
func (UnimplementedContainerRegistryServer) CreateReadOnlyCredential(context.Context, *CreateReadOnlyCredentialIn) (*CreateReadOnlyCredentialOut, 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.