Documentation
¶
Index ¶
- Variables
- type AuthorizedKey
- func (*AuthorizedKey) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizedKey) GetPublicKey() string
- func (x *AuthorizedKey) GetType() KeyType
- func (*AuthorizedKey) ProtoMessage()
- func (x *AuthorizedKey) ProtoReflect() protoreflect.Message
- func (x *AuthorizedKey) Reset()
- func (x *AuthorizedKey) String() string
- type Config
- type KeyType
- type Payload
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KeyType_name = map[int32]string{ 0: "KEY_TYPE_UNSPECIFIED", 1: "KEY_TYPE_ECDSA_EVM", } KeyType_value = map[string]int32{ "KEY_TYPE_UNSPECIFIED": 0, "KEY_TYPE_ECDSA_EVM": 1, } )
Enum value maps for KeyType.
View Source
var File_capabilities_networking_http_v1alpha_trigger_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthorizedKey ¶
type AuthorizedKey struct {
Type KeyType `protobuf:"varint,1,opt,name=type,proto3,enum=capabilities.networking.http.v1alpha.KeyType" json:"type,omitempty"`
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// contains filtered or unexported fields
}
Generic and extensible authorized signer abstraction
func (*AuthorizedKey) Descriptor
deprecated
func (*AuthorizedKey) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedKey.ProtoReflect.Descriptor instead.
func (*AuthorizedKey) GetPublicKey ¶
func (x *AuthorizedKey) GetPublicKey() string
func (*AuthorizedKey) GetType ¶
func (x *AuthorizedKey) GetType() KeyType
func (*AuthorizedKey) ProtoMessage ¶
func (*AuthorizedKey) ProtoMessage()
func (*AuthorizedKey) ProtoReflect ¶
func (x *AuthorizedKey) ProtoReflect() protoreflect.Message
func (*AuthorizedKey) Reset ¶
func (x *AuthorizedKey) Reset()
func (*AuthorizedKey) String ¶
func (x *AuthorizedKey) String() string
type Config ¶
type Config struct {
// Public keys against which the signature of incoming requests are validated
AuthorizedKeys []*AuthorizedKey `protobuf:"bytes,1,rep,name=authorized_keys,json=authorizedKeys,proto3" json:"authorized_keys,omitempty"`
// contains filtered or unexported fields
}
func (*Config) Descriptor
deprecated
func (*Config) GetAuthorizedKeys ¶
func (x *Config) GetAuthorizedKeys() []*AuthorizedKey
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type KeyType ¶
type KeyType int32
func (KeyType) Descriptor ¶
func (KeyType) Descriptor() protoreflect.EnumDescriptor
func (KeyType) EnumDescriptor
deprecated
func (KeyType) Number ¶
func (x KeyType) Number() protoreflect.EnumNumber
func (KeyType) Type ¶
func (KeyType) Type() protoreflect.EnumType
type Payload ¶
type Payload struct {
// JSON input in the HTTP trigger request
Input *structpb.Struct `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
// Key used to sign the HTTP trigger request
Key *AuthorizedKey `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*Payload) Descriptor
deprecated
func (*Payload) GetKey ¶
func (x *Payload) GetKey() *AuthorizedKey
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) ProtoReflect ¶
func (x *Payload) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.