Documentation ¶
Index ¶
- Variables
- func RegisterAuthenticationProviderAPIServer(s *grpc.Server, srv AuthenticationProviderAPIServer)
- func RegisterAuthenticationVerifierAPIServer(s *grpc.Server, srv AuthenticationVerifierAPIServer)
- func RegisterConfigurationAPIServer(s *grpc.Server, srv ConfigurationAPIServer)
- type AuthenticationProviderAPIClient
- type AuthenticationProviderAPIServer
- type AuthenticationVerifierAPIClient
- type AuthenticationVerifierAPIServer
- type ConfigType
- type ConfigurationAPIClient
- type ConfigurationAPIServer
- type ConfigurationAttribute
- func (*ConfigurationAttribute) Descriptor() ([]byte, []int)
- func (m *ConfigurationAttribute) GetAttributeType() ConfigType
- func (m *ConfigurationAttribute) GetDescription() string
- func (*ConfigurationAttribute) ProtoMessage()
- func (m *ConfigurationAttribute) Reset()
- func (m *ConfigurationAttribute) String() string
- func (m *ConfigurationAttribute) XXX_DiscardUnknown()
- func (m *ConfigurationAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigurationAttribute) XXX_Merge(src proto.Message)
- func (m *ConfigurationAttribute) XXX_Size() int
- func (m *ConfigurationAttribute) XXX_Unmarshal(b []byte) error
- type ConfigurationAttributeValue
- func (*ConfigurationAttributeValue) Descriptor() ([]byte, []int)
- func (m *ConfigurationAttributeValue) GetAttributeType() ConfigType
- func (m *ConfigurationAttributeValue) GetValue() []byte
- func (*ConfigurationAttributeValue) ProtoMessage()
- func (m *ConfigurationAttributeValue) Reset()
- func (m *ConfigurationAttributeValue) String() string
- func (m *ConfigurationAttributeValue) XXX_DiscardUnknown()
- func (m *ConfigurationAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigurationAttributeValue) XXX_Merge(src proto.Message)
- func (m *ConfigurationAttributeValue) XXX_Size() int
- func (m *ConfigurationAttributeValue) XXX_Unmarshal(b []byte) error
- type ConfigureRequest
- func (*ConfigureRequest) Descriptor() ([]byte, []int)
- func (m *ConfigureRequest) GetAttributes() map[string]*ConfigurationAttributeValue
- func (*ConfigureRequest) ProtoMessage()
- func (m *ConfigureRequest) Reset()
- func (m *ConfigureRequest) String() string
- func (m *ConfigureRequest) XXX_DiscardUnknown()
- func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigureRequest) XXX_Merge(src proto.Message)
- func (m *ConfigureRequest) XXX_Size() int
- func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error
- type ConfigureResponse
- func (*ConfigureResponse) Descriptor() ([]byte, []int)
- func (*ConfigureResponse) ProtoMessage()
- func (m *ConfigureResponse) Reset()
- func (m *ConfigureResponse) String() string
- func (m *ConfigureResponse) XXX_DiscardUnknown()
- func (m *ConfigureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigureResponse) XXX_Merge(src proto.Message)
- func (m *ConfigureResponse) XXX_Size() int
- func (m *ConfigureResponse) XXX_Unmarshal(b []byte) error
- type GetConfigurationSchemaRequest
- func (*GetConfigurationSchemaRequest) Descriptor() ([]byte, []int)
- func (*GetConfigurationSchemaRequest) ProtoMessage()
- func (m *GetConfigurationSchemaRequest) Reset()
- func (m *GetConfigurationSchemaRequest) String() string
- func (m *GetConfigurationSchemaRequest) XXX_DiscardUnknown()
- func (m *GetConfigurationSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigurationSchemaRequest) XXX_Merge(src proto.Message)
- func (m *GetConfigurationSchemaRequest) XXX_Size() int
- func (m *GetConfigurationSchemaRequest) XXX_Unmarshal(b []byte) error
- type GetConfigurationSchemaResponse
- func (*GetConfigurationSchemaResponse) Descriptor() ([]byte, []int)
- func (m *GetConfigurationSchemaResponse) GetAttributes() map[string]*ConfigurationAttribute
- func (*GetConfigurationSchemaResponse) ProtoMessage()
- func (m *GetConfigurationSchemaResponse) Reset()
- func (m *GetConfigurationSchemaResponse) String() string
- func (m *GetConfigurationSchemaResponse) XXX_DiscardUnknown()
- func (m *GetConfigurationSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigurationSchemaResponse) XXX_Merge(src proto.Message)
- func (m *GetConfigurationSchemaResponse) XXX_Size() int
- func (m *GetConfigurationSchemaResponse) XXX_Unmarshal(b []byte) error
- type ProvideRequest
- func (*ProvideRequest) Descriptor() ([]byte, []int)
- func (m *ProvideRequest) GetHost() string
- func (m *ProvideRequest) GetImage() string
- func (m *ProvideRequest) GetRepository() string
- func (*ProvideRequest) ProtoMessage()
- func (m *ProvideRequest) Reset()
- func (m *ProvideRequest) String() string
- func (m *ProvideRequest) XXX_DiscardUnknown()
- func (m *ProvideRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProvideRequest) XXX_Merge(src proto.Message)
- func (m *ProvideRequest) XXX_Size() int
- func (m *ProvideRequest) XXX_Unmarshal(b []byte) error
- type ProvideResponse
- func (*ProvideResponse) Descriptor() ([]byte, []int)
- func (m *ProvideResponse) GetAuth() string
- func (m *ProvideResponse) GetIdentityToken() string
- func (m *ProvideResponse) GetPassword() string
- func (m *ProvideResponse) GetRegistryToken() string
- func (m *ProvideResponse) GetUsername() string
- func (*ProvideResponse) ProtoMessage()
- func (m *ProvideResponse) Reset()
- func (m *ProvideResponse) String() string
- func (m *ProvideResponse) XXX_DiscardUnknown()
- func (m *ProvideResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProvideResponse) XXX_Merge(src proto.Message)
- func (m *ProvideResponse) XXX_Size() int
- func (m *ProvideResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedAuthenticationProviderAPIServer
- type UnimplementedAuthenticationVerifierAPIServer
- type UnimplementedConfigurationAPIServer
- type VerifyRequest
- func (*VerifyRequest) Descriptor() ([]byte, []int)
- func (m *VerifyRequest) GetHost() string
- func (m *VerifyRequest) GetImage() string
- func (m *VerifyRequest) GetPassword() string
- func (m *VerifyRequest) GetRepository() string
- func (m *VerifyRequest) GetUsername() string
- func (*VerifyRequest) ProtoMessage()
- func (m *VerifyRequest) Reset()
- func (m *VerifyRequest) String() string
- func (m *VerifyRequest) XXX_DiscardUnknown()
- func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyRequest) XXX_Merge(src proto.Message)
- func (m *VerifyRequest) XXX_Size() int
- func (m *VerifyRequest) XXX_Unmarshal(b []byte) error
- type VerifyResponse
- func (*VerifyResponse) Descriptor() ([]byte, []int)
- func (*VerifyResponse) ProtoMessage()
- func (m *VerifyResponse) Reset()
- func (m *VerifyResponse) String() string
- func (m *VerifyResponse) XXX_DiscardUnknown()
- func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyResponse) XXX_Merge(src proto.Message)
- func (m *VerifyResponse) XXX_Size() int
- func (m *VerifyResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ConfigType_name = map[int32]string{
0: "CONFIG_TYPE_INVALID",
1: "CONFIG_TYPE_BOOL",
2: "CONFIG_TYPE_FLOAT64",
3: "CONFIG_TYPE_INT",
4: "CONFIG_TYPE_INT_SLICE",
5: "CONFIG_TYPE_STRING",
6: "CONFIG_TYPE_STRING_MAP",
7: "CONFIG_TYPE_STRING_SLICE",
8: "CONFIG_TYPE_TIME",
9: "CONFIG_TYPE_DURATION",
}
var ConfigType_value = map[string]int32{
"CONFIG_TYPE_INVALID": 0,
"CONFIG_TYPE_BOOL": 1,
"CONFIG_TYPE_FLOAT64": 2,
"CONFIG_TYPE_INT": 3,
"CONFIG_TYPE_INT_SLICE": 4,
"CONFIG_TYPE_STRING": 5,
"CONFIG_TYPE_STRING_MAP": 6,
"CONFIG_TYPE_STRING_SLICE": 7,
"CONFIG_TYPE_TIME": 8,
"CONFIG_TYPE_DURATION": 9,
}
Functions ¶
func RegisterAuthenticationProviderAPIServer ¶
func RegisterAuthenticationProviderAPIServer(s *grpc.Server, srv AuthenticationProviderAPIServer)
func RegisterAuthenticationVerifierAPIServer ¶
func RegisterAuthenticationVerifierAPIServer(s *grpc.Server, srv AuthenticationVerifierAPIServer)
func RegisterConfigurationAPIServer ¶
func RegisterConfigurationAPIServer(s *grpc.Server, srv ConfigurationAPIServer)
Types ¶
type AuthenticationProviderAPIClient ¶
type AuthenticationProviderAPIClient interface { // Provide returns credentials for the given ProvideRequest. Provide(ctx context.Context, in *ProvideRequest, opts ...grpc.CallOption) (*ProvideResponse, error) }
AuthenticationProviderAPIClient is the client API for AuthenticationProviderAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthenticationProviderAPIClient ¶
func NewAuthenticationProviderAPIClient(cc grpc.ClientConnInterface) AuthenticationProviderAPIClient
type AuthenticationProviderAPIServer ¶
type AuthenticationProviderAPIServer interface { // Provide returns credentials for the given ProvideRequest. Provide(context.Context, *ProvideRequest) (*ProvideResponse, error) }
AuthenticationProviderAPIServer is the server API for AuthenticationProviderAPI service.
type AuthenticationVerifierAPIClient ¶
type AuthenticationVerifierAPIClient interface { // Verify takes the raw Base64 encoded BasicAuth credential supplied to // the Docker Registry Proxy from the Docker client and authenticates // with the implementation. Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error) }
AuthenticationVerifierAPIClient is the client API for AuthenticationVerifierAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthenticationVerifierAPIClient ¶
func NewAuthenticationVerifierAPIClient(cc grpc.ClientConnInterface) AuthenticationVerifierAPIClient
type AuthenticationVerifierAPIServer ¶
type AuthenticationVerifierAPIServer interface { // Verify takes the raw Base64 encoded BasicAuth credential supplied to // the Docker Registry Proxy from the Docker client and authenticates // with the implementation. Verify(context.Context, *VerifyRequest) (*VerifyResponse, error) }
AuthenticationVerifierAPIServer is the server API for AuthenticationVerifierAPI service.
type ConfigType ¶
type ConfigType int32
ConfigType represents the available field types from: https://github.com/spf13/viper#getting-values-from-viper
const ( ConfigType_CONFIG_TYPE_INVALID ConfigType = 0 ConfigType_CONFIG_TYPE_BOOL ConfigType = 1 ConfigType_CONFIG_TYPE_FLOAT64 ConfigType = 2 ConfigType_CONFIG_TYPE_INT ConfigType = 3 ConfigType_CONFIG_TYPE_INT_SLICE ConfigType = 4 ConfigType_CONFIG_TYPE_STRING ConfigType = 5 ConfigType_CONFIG_TYPE_STRING_MAP ConfigType = 6 ConfigType_CONFIG_TYPE_STRING_SLICE ConfigType = 7 ConfigType_CONFIG_TYPE_TIME ConfigType = 8 ConfigType_CONFIG_TYPE_DURATION ConfigType = 9 )
func (ConfigType) EnumDescriptor ¶
func (ConfigType) EnumDescriptor() ([]byte, []int)
func (ConfigType) String ¶
func (x ConfigType) String() string
type ConfigurationAPIClient ¶
type ConfigurationAPIClient interface { // GetConfigurationSchema returns the schema for the plugin. GetConfigurationSchema(ctx context.Context, in *GetConfigurationSchemaRequest, opts ...grpc.CallOption) (*GetConfigurationSchemaResponse, error) // Configure configures the plugin. Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*ConfigureResponse, error) }
ConfigurationAPIClient is the client API for ConfigurationAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConfigurationAPIClient ¶
func NewConfigurationAPIClient(cc grpc.ClientConnInterface) ConfigurationAPIClient
type ConfigurationAPIServer ¶
type ConfigurationAPIServer interface { // GetConfigurationSchema returns the schema for the plugin. GetConfigurationSchema(context.Context, *GetConfigurationSchemaRequest) (*GetConfigurationSchemaResponse, error) // Configure configures the plugin. Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error) }
ConfigurationAPIServer is the server API for ConfigurationAPI service.
type ConfigurationAttribute ¶
type ConfigurationAttribute struct { AttributeType ConfigType `` /* 146-byte string literal not displayed */ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ConfigurationAttribute represents a configuration attribute for a plugin.
func (*ConfigurationAttribute) Descriptor ¶
func (*ConfigurationAttribute) Descriptor() ([]byte, []int)
func (*ConfigurationAttribute) GetAttributeType ¶
func (m *ConfigurationAttribute) GetAttributeType() ConfigType
func (*ConfigurationAttribute) GetDescription ¶
func (m *ConfigurationAttribute) GetDescription() string
func (*ConfigurationAttribute) ProtoMessage ¶
func (*ConfigurationAttribute) ProtoMessage()
func (*ConfigurationAttribute) Reset ¶
func (m *ConfigurationAttribute) Reset()
func (*ConfigurationAttribute) String ¶
func (m *ConfigurationAttribute) String() string
func (*ConfigurationAttribute) XXX_DiscardUnknown ¶
func (m *ConfigurationAttribute) XXX_DiscardUnknown()
func (*ConfigurationAttribute) XXX_Marshal ¶
func (m *ConfigurationAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigurationAttribute) XXX_Merge ¶
func (m *ConfigurationAttribute) XXX_Merge(src proto.Message)
func (*ConfigurationAttribute) XXX_Size ¶
func (m *ConfigurationAttribute) XXX_Size() int
func (*ConfigurationAttribute) XXX_Unmarshal ¶
func (m *ConfigurationAttribute) XXX_Unmarshal(b []byte) error
type ConfigurationAttributeValue ¶
type ConfigurationAttributeValue struct { AttributeType ConfigType `` /* 146-byte string literal not displayed */ Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ConfigurationAttributeValue represents the value of a configuration attribute for a plugin.
func (*ConfigurationAttributeValue) Descriptor ¶
func (*ConfigurationAttributeValue) Descriptor() ([]byte, []int)
func (*ConfigurationAttributeValue) GetAttributeType ¶
func (m *ConfigurationAttributeValue) GetAttributeType() ConfigType
func (*ConfigurationAttributeValue) GetValue ¶
func (m *ConfigurationAttributeValue) GetValue() []byte
func (*ConfigurationAttributeValue) ProtoMessage ¶
func (*ConfigurationAttributeValue) ProtoMessage()
func (*ConfigurationAttributeValue) Reset ¶
func (m *ConfigurationAttributeValue) Reset()
func (*ConfigurationAttributeValue) String ¶
func (m *ConfigurationAttributeValue) String() string
func (*ConfigurationAttributeValue) XXX_DiscardUnknown ¶
func (m *ConfigurationAttributeValue) XXX_DiscardUnknown()
func (*ConfigurationAttributeValue) XXX_Marshal ¶
func (m *ConfigurationAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigurationAttributeValue) XXX_Merge ¶
func (m *ConfigurationAttributeValue) XXX_Merge(src proto.Message)
func (*ConfigurationAttributeValue) XXX_Size ¶
func (m *ConfigurationAttributeValue) XXX_Size() int
func (*ConfigurationAttributeValue) XXX_Unmarshal ¶
func (m *ConfigurationAttributeValue) XXX_Unmarshal(b []byte) error
type ConfigureRequest ¶
type ConfigureRequest struct { Attributes map[string]*ConfigurationAttributeValue `` /* 161-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigureRequest) Descriptor ¶
func (*ConfigureRequest) Descriptor() ([]byte, []int)
func (*ConfigureRequest) GetAttributes ¶
func (m *ConfigureRequest) GetAttributes() map[string]*ConfigurationAttributeValue
func (*ConfigureRequest) ProtoMessage ¶
func (*ConfigureRequest) ProtoMessage()
func (*ConfigureRequest) Reset ¶
func (m *ConfigureRequest) Reset()
func (*ConfigureRequest) String ¶
func (m *ConfigureRequest) String() string
func (*ConfigureRequest) XXX_DiscardUnknown ¶
func (m *ConfigureRequest) XXX_DiscardUnknown()
func (*ConfigureRequest) XXX_Marshal ¶
func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigureRequest) XXX_Merge ¶
func (m *ConfigureRequest) XXX_Merge(src proto.Message)
func (*ConfigureRequest) XXX_Size ¶
func (m *ConfigureRequest) XXX_Size() int
func (*ConfigureRequest) XXX_Unmarshal ¶
func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error
type ConfigureResponse ¶
type ConfigureResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigureResponse) Descriptor ¶
func (*ConfigureResponse) Descriptor() ([]byte, []int)
func (*ConfigureResponse) ProtoMessage ¶
func (*ConfigureResponse) ProtoMessage()
func (*ConfigureResponse) Reset ¶
func (m *ConfigureResponse) Reset()
func (*ConfigureResponse) String ¶
func (m *ConfigureResponse) String() string
func (*ConfigureResponse) XXX_DiscardUnknown ¶
func (m *ConfigureResponse) XXX_DiscardUnknown()
func (*ConfigureResponse) XXX_Marshal ¶
func (m *ConfigureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigureResponse) XXX_Merge ¶
func (m *ConfigureResponse) XXX_Merge(src proto.Message)
func (*ConfigureResponse) XXX_Size ¶
func (m *ConfigureResponse) XXX_Size() int
func (*ConfigureResponse) XXX_Unmarshal ¶
func (m *ConfigureResponse) XXX_Unmarshal(b []byte) error
type GetConfigurationSchemaRequest ¶
type GetConfigurationSchemaRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetConfigurationSchemaRequest is empty.
func (*GetConfigurationSchemaRequest) Descriptor ¶
func (*GetConfigurationSchemaRequest) Descriptor() ([]byte, []int)
func (*GetConfigurationSchemaRequest) ProtoMessage ¶
func (*GetConfigurationSchemaRequest) ProtoMessage()
func (*GetConfigurationSchemaRequest) Reset ¶
func (m *GetConfigurationSchemaRequest) Reset()
func (*GetConfigurationSchemaRequest) String ¶
func (m *GetConfigurationSchemaRequest) String() string
func (*GetConfigurationSchemaRequest) XXX_DiscardUnknown ¶
func (m *GetConfigurationSchemaRequest) XXX_DiscardUnknown()
func (*GetConfigurationSchemaRequest) XXX_Marshal ¶
func (m *GetConfigurationSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigurationSchemaRequest) XXX_Merge ¶
func (m *GetConfigurationSchemaRequest) XXX_Merge(src proto.Message)
func (*GetConfigurationSchemaRequest) XXX_Size ¶
func (m *GetConfigurationSchemaRequest) XXX_Size() int
func (*GetConfigurationSchemaRequest) XXX_Unmarshal ¶
func (m *GetConfigurationSchemaRequest) XXX_Unmarshal(b []byte) error
type GetConfigurationSchemaResponse ¶
type GetConfigurationSchemaResponse struct { // key is the attribute name. Attributes map[string]*ConfigurationAttribute `` /* 161-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetConfigurationSchema represents the configuration for a plugin.
func (*GetConfigurationSchemaResponse) Descriptor ¶
func (*GetConfigurationSchemaResponse) Descriptor() ([]byte, []int)
func (*GetConfigurationSchemaResponse) GetAttributes ¶
func (m *GetConfigurationSchemaResponse) GetAttributes() map[string]*ConfigurationAttribute
func (*GetConfigurationSchemaResponse) ProtoMessage ¶
func (*GetConfigurationSchemaResponse) ProtoMessage()
func (*GetConfigurationSchemaResponse) Reset ¶
func (m *GetConfigurationSchemaResponse) Reset()
func (*GetConfigurationSchemaResponse) String ¶
func (m *GetConfigurationSchemaResponse) String() string
func (*GetConfigurationSchemaResponse) XXX_DiscardUnknown ¶
func (m *GetConfigurationSchemaResponse) XXX_DiscardUnknown()
func (*GetConfigurationSchemaResponse) XXX_Marshal ¶
func (m *GetConfigurationSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigurationSchemaResponse) XXX_Merge ¶
func (m *GetConfigurationSchemaResponse) XXX_Merge(src proto.Message)
func (*GetConfigurationSchemaResponse) XXX_Size ¶
func (m *GetConfigurationSchemaResponse) XXX_Size() int
func (*GetConfigurationSchemaResponse) XXX_Unmarshal ¶
func (m *GetConfigurationSchemaResponse) XXX_Unmarshal(b []byte) error
type ProvideRequest ¶
type ProvideRequest struct { // host represents the host of the image that the docker client is attempting // to pull. e.g. docker-proxy.example.org Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // repository represents the repository of the image that the docker client is // attempting to pull. e.g. my-repository Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // image represents the image that the docker client is attempting to pull. // e.g. my-image:latest or my-image@sha256:digest Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ProvideRequest represents a message for an AuthenticationProvider to return credentials for.
func (*ProvideRequest) Descriptor ¶
func (*ProvideRequest) Descriptor() ([]byte, []int)
func (*ProvideRequest) GetHost ¶
func (m *ProvideRequest) GetHost() string
func (*ProvideRequest) GetImage ¶
func (m *ProvideRequest) GetImage() string
func (*ProvideRequest) GetRepository ¶
func (m *ProvideRequest) GetRepository() string
func (*ProvideRequest) ProtoMessage ¶
func (*ProvideRequest) ProtoMessage()
func (*ProvideRequest) Reset ¶
func (m *ProvideRequest) Reset()
func (*ProvideRequest) String ¶
func (m *ProvideRequest) String() string
func (*ProvideRequest) XXX_DiscardUnknown ¶
func (m *ProvideRequest) XXX_DiscardUnknown()
func (*ProvideRequest) XXX_Marshal ¶
func (m *ProvideRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProvideRequest) XXX_Merge ¶
func (m *ProvideRequest) XXX_Merge(src proto.Message)
func (*ProvideRequest) XXX_Size ¶
func (m *ProvideRequest) XXX_Size() int
func (*ProvideRequest) XXX_Unmarshal ¶
func (m *ProvideRequest) XXX_Unmarshal(b []byte) error
type ProvideResponse ¶
type ProvideResponse struct { // Inlined what we use from github.com/cli/cli/config/types Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Auth string `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` // IdentityToken is used to authenticate the user and get // an access token for the registry. IdentityToken string `protobuf:"bytes,4,opt,name=identity_token,json=identityToken,proto3" json:"identity_token,omitempty"` // RegistryToken is a bearer token to be sent to a registry RegistryToken string `protobuf:"bytes,5,opt,name=registry_token,json=registryToken,proto3" json:"registry_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ProvideResponse represents the returned credentials.
func (*ProvideResponse) Descriptor ¶
func (*ProvideResponse) Descriptor() ([]byte, []int)
func (*ProvideResponse) GetAuth ¶
func (m *ProvideResponse) GetAuth() string
func (*ProvideResponse) GetIdentityToken ¶
func (m *ProvideResponse) GetIdentityToken() string
func (*ProvideResponse) GetPassword ¶
func (m *ProvideResponse) GetPassword() string
func (*ProvideResponse) GetRegistryToken ¶
func (m *ProvideResponse) GetRegistryToken() string
func (*ProvideResponse) GetUsername ¶
func (m *ProvideResponse) GetUsername() string
func (*ProvideResponse) ProtoMessage ¶
func (*ProvideResponse) ProtoMessage()
func (*ProvideResponse) Reset ¶
func (m *ProvideResponse) Reset()
func (*ProvideResponse) String ¶
func (m *ProvideResponse) String() string
func (*ProvideResponse) XXX_DiscardUnknown ¶
func (m *ProvideResponse) XXX_DiscardUnknown()
func (*ProvideResponse) XXX_Marshal ¶
func (m *ProvideResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProvideResponse) XXX_Merge ¶
func (m *ProvideResponse) XXX_Merge(src proto.Message)
func (*ProvideResponse) XXX_Size ¶
func (m *ProvideResponse) XXX_Size() int
func (*ProvideResponse) XXX_Unmarshal ¶
func (m *ProvideResponse) XXX_Unmarshal(b []byte) error
type UnimplementedAuthenticationProviderAPIServer ¶
type UnimplementedAuthenticationProviderAPIServer struct { }
UnimplementedAuthenticationProviderAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthenticationProviderAPIServer) Provide ¶
func (*UnimplementedAuthenticationProviderAPIServer) Provide(ctx context.Context, req *ProvideRequest) (*ProvideResponse, error)
type UnimplementedAuthenticationVerifierAPIServer ¶
type UnimplementedAuthenticationVerifierAPIServer struct { }
UnimplementedAuthenticationVerifierAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthenticationVerifierAPIServer) Verify ¶
func (*UnimplementedAuthenticationVerifierAPIServer) Verify(ctx context.Context, req *VerifyRequest) (*VerifyResponse, error)
type UnimplementedConfigurationAPIServer ¶
type UnimplementedConfigurationAPIServer struct { }
UnimplementedConfigurationAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedConfigurationAPIServer) Configure ¶
func (*UnimplementedConfigurationAPIServer) Configure(ctx context.Context, req *ConfigureRequest) (*ConfigureResponse, error)
func (*UnimplementedConfigurationAPIServer) GetConfigurationSchema ¶
func (*UnimplementedConfigurationAPIServer) GetConfigurationSchema(ctx context.Context, req *GetConfigurationSchemaRequest) (*GetConfigurationSchemaResponse, error)
type VerifyRequest ¶
type VerifyRequest struct { // username represents the username portion of the basic auth received from // the docker client. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // password represents the password portion of the basic auth received from // the docker client. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // host represents the host of the image that the docker client is attempting // to pull. e.g. docker-proxy.example.org Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // repository represents the repository of the image that the docker client is // attempting to pull. e.g. my-repository Repository string `protobuf:"bytes,4,opt,name=repository,proto3" json:"repository,omitempty"` // image represents the image that the docker client is attempting to pull. // e.g. my-image:latest or my-image@sha256:digest Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
VerifyRequest represents a message for an AuthenticationVerifier to verify.
func (*VerifyRequest) Descriptor ¶
func (*VerifyRequest) Descriptor() ([]byte, []int)
func (*VerifyRequest) GetHost ¶
func (m *VerifyRequest) GetHost() string
func (*VerifyRequest) GetImage ¶
func (m *VerifyRequest) GetImage() string
func (*VerifyRequest) GetPassword ¶
func (m *VerifyRequest) GetPassword() string
func (*VerifyRequest) GetRepository ¶
func (m *VerifyRequest) GetRepository() string
func (*VerifyRequest) GetUsername ¶
func (m *VerifyRequest) GetUsername() string
func (*VerifyRequest) ProtoMessage ¶
func (*VerifyRequest) ProtoMessage()
func (*VerifyRequest) Reset ¶
func (m *VerifyRequest) Reset()
func (*VerifyRequest) String ¶
func (m *VerifyRequest) String() string
func (*VerifyRequest) XXX_DiscardUnknown ¶
func (m *VerifyRequest) XXX_DiscardUnknown()
func (*VerifyRequest) XXX_Marshal ¶
func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyRequest) XXX_Merge ¶
func (m *VerifyRequest) XXX_Merge(src proto.Message)
func (*VerifyRequest) XXX_Size ¶
func (m *VerifyRequest) XXX_Size() int
func (*VerifyRequest) XXX_Unmarshal ¶
func (m *VerifyRequest) XXX_Unmarshal(b []byte) error
type VerifyResponse ¶
type VerifyResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
VerifyResponse is empty.
func (*VerifyResponse) Descriptor ¶
func (*VerifyResponse) Descriptor() ([]byte, []int)
func (*VerifyResponse) ProtoMessage ¶
func (*VerifyResponse) ProtoMessage()
func (*VerifyResponse) Reset ¶
func (m *VerifyResponse) Reset()
func (*VerifyResponse) String ¶
func (m *VerifyResponse) String() string
func (*VerifyResponse) XXX_DiscardUnknown ¶
func (m *VerifyResponse) XXX_DiscardUnknown()
func (*VerifyResponse) XXX_Marshal ¶
func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyResponse) XXX_Merge ¶
func (m *VerifyResponse) XXX_Merge(src proto.Message)
func (*VerifyResponse) XXX_Size ¶
func (m *VerifyResponse) XXX_Size() int
func (*VerifyResponse) XXX_Unmarshal ¶
func (m *VerifyResponse) XXX_Unmarshal(b []byte) error