registration

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeleteFederatedBundleRequest_Mode_name = map[int32]string{
	0: "RESTRICT",
	1: "DELETE",
	2: "DISSOCIATE",
}
View Source
var DeleteFederatedBundleRequest_Mode_value = map[string]int32{
	"RESTRICT":   0,
	"DELETE":     1,
	"DISSOCIATE": 2,
}

Functions

func RegisterRegistrationServer

func RegisterRegistrationServer(s *grpc.Server, srv RegistrationServer)

Types

type Bundle

type Bundle struct {
	// Common bundle format
	Bundle               *common.Bundle `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

CA Bundle of the server

func (*Bundle) Descriptor

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

func (*Bundle) GetBundle

func (m *Bundle) GetBundle() *common.Bundle

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) Reset

func (m *Bundle) Reset()

func (*Bundle) String

func (m *Bundle) String() string

func (*Bundle) XXX_DiscardUnknown

func (m *Bundle) XXX_DiscardUnknown()

func (*Bundle) XXX_Marshal

func (m *Bundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bundle) XXX_Merge

func (m *Bundle) XXX_Merge(src proto.Message)

func (*Bundle) XXX_Size

func (m *Bundle) XXX_Size() int

func (*Bundle) XXX_Unmarshal

func (m *Bundle) XXX_Unmarshal(b []byte) error

type CreateEntryIfNotExistsResponse added in v0.10.0

type CreateEntryIfNotExistsResponse struct {
	Entry                *common.RegistrationEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	Preexisting          bool                      `protobuf:"varint,2,opt,name=preexisting,proto3" json:"preexisting,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

A type that represents a CreateEntryIfNotExists response If an entry already exists, the existing entry will be returned and `existing` will be set to true.

func (*CreateEntryIfNotExistsResponse) Descriptor added in v0.10.0

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

func (*CreateEntryIfNotExistsResponse) GetEntry added in v0.10.0

func (*CreateEntryIfNotExistsResponse) GetPreexisting added in v0.10.0

func (m *CreateEntryIfNotExistsResponse) GetPreexisting() bool

func (*CreateEntryIfNotExistsResponse) ProtoMessage added in v0.10.0

func (*CreateEntryIfNotExistsResponse) ProtoMessage()

func (*CreateEntryIfNotExistsResponse) Reset added in v0.10.0

func (m *CreateEntryIfNotExistsResponse) Reset()

func (*CreateEntryIfNotExistsResponse) String added in v0.10.0

func (*CreateEntryIfNotExistsResponse) XXX_DiscardUnknown added in v0.10.0

func (m *CreateEntryIfNotExistsResponse) XXX_DiscardUnknown()

func (*CreateEntryIfNotExistsResponse) XXX_Marshal added in v0.10.0

func (m *CreateEntryIfNotExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateEntryIfNotExistsResponse) XXX_Merge added in v0.10.0

func (m *CreateEntryIfNotExistsResponse) XXX_Merge(src proto.Message)

func (*CreateEntryIfNotExistsResponse) XXX_Size added in v0.10.0

func (m *CreateEntryIfNotExistsResponse) XXX_Size() int

func (*CreateEntryIfNotExistsResponse) XXX_Unmarshal added in v0.10.0

func (m *CreateEntryIfNotExistsResponse) XXX_Unmarshal(b []byte) error

type DeleteFederatedBundleRequest

type DeleteFederatedBundleRequest struct {
	Id                   string                            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Mode                 DeleteFederatedBundleRequest_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=spire.api.registration.DeleteFederatedBundleRequest_Mode" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*DeleteFederatedBundleRequest) Descriptor

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

func (*DeleteFederatedBundleRequest) GetId

func (*DeleteFederatedBundleRequest) GetMode

func (*DeleteFederatedBundleRequest) ProtoMessage

func (*DeleteFederatedBundleRequest) ProtoMessage()

func (*DeleteFederatedBundleRequest) Reset

func (m *DeleteFederatedBundleRequest) Reset()

func (*DeleteFederatedBundleRequest) String

func (*DeleteFederatedBundleRequest) XXX_DiscardUnknown

func (m *DeleteFederatedBundleRequest) XXX_DiscardUnknown()

func (*DeleteFederatedBundleRequest) XXX_Marshal

func (m *DeleteFederatedBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteFederatedBundleRequest) XXX_Merge

func (m *DeleteFederatedBundleRequest) XXX_Merge(src proto.Message)

func (*DeleteFederatedBundleRequest) XXX_Size

func (m *DeleteFederatedBundleRequest) XXX_Size() int

func (*DeleteFederatedBundleRequest) XXX_Unmarshal

func (m *DeleteFederatedBundleRequest) XXX_Unmarshal(b []byte) error

type DeleteFederatedBundleRequest_Mode

type DeleteFederatedBundleRequest_Mode int32

Mode controls the delete behavior if there are other records associated with the bundle (e.g. registration entries).

const (
	// RESTRICT prevents the bundle from being deleted in the presence of associated entries
	DeleteFederatedBundleRequest_RESTRICT DeleteFederatedBundleRequest_Mode = 0
	// DELETE deletes the bundle and associated entries
	DeleteFederatedBundleRequest_DELETE DeleteFederatedBundleRequest_Mode = 1
	// DISSOCIATE deletes the bundle and dissociates associated entries
	DeleteFederatedBundleRequest_DISSOCIATE DeleteFederatedBundleRequest_Mode = 2
)

func (DeleteFederatedBundleRequest_Mode) EnumDescriptor

func (DeleteFederatedBundleRequest_Mode) EnumDescriptor() ([]byte, []int)

func (DeleteFederatedBundleRequest_Mode) String

type EvictAgentRequest

type EvictAgentRequest struct {
	// Agent identity of the node to be evicted.
	// For example: "spiffe://example.org/spire/agent/join_token/feea6adc-3254-4052-9a18-5eeb74bf214f"
	SpiffeID             string   `protobuf:"bytes,1,opt,name=spiffeID,proto3" json:"spiffeID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents an evict request

func (*EvictAgentRequest) Descriptor

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

func (*EvictAgentRequest) GetSpiffeID

func (m *EvictAgentRequest) GetSpiffeID() string

func (*EvictAgentRequest) ProtoMessage

func (*EvictAgentRequest) ProtoMessage()

func (*EvictAgentRequest) Reset

func (m *EvictAgentRequest) Reset()

func (*EvictAgentRequest) String

func (m *EvictAgentRequest) String() string

func (*EvictAgentRequest) XXX_DiscardUnknown

func (m *EvictAgentRequest) XXX_DiscardUnknown()

func (*EvictAgentRequest) XXX_Marshal

func (m *EvictAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvictAgentRequest) XXX_Merge

func (m *EvictAgentRequest) XXX_Merge(src proto.Message)

func (*EvictAgentRequest) XXX_Size

func (m *EvictAgentRequest) XXX_Size() int

func (*EvictAgentRequest) XXX_Unmarshal

func (m *EvictAgentRequest) XXX_Unmarshal(b []byte) error

type EvictAgentResponse

type EvictAgentResponse struct {
	// Node contains the evicted node
	Node                 *common.AttestedNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Represents an evict response

func (*EvictAgentResponse) Descriptor

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

func (*EvictAgentResponse) GetNode

func (m *EvictAgentResponse) GetNode() *common.AttestedNode

func (*EvictAgentResponse) ProtoMessage

func (*EvictAgentResponse) ProtoMessage()

func (*EvictAgentResponse) Reset

func (m *EvictAgentResponse) Reset()

func (*EvictAgentResponse) String

func (m *EvictAgentResponse) String() string

func (*EvictAgentResponse) XXX_DiscardUnknown

func (m *EvictAgentResponse) XXX_DiscardUnknown()

func (*EvictAgentResponse) XXX_Marshal

func (m *EvictAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvictAgentResponse) XXX_Merge

func (m *EvictAgentResponse) XXX_Merge(src proto.Message)

func (*EvictAgentResponse) XXX_Size

func (m *EvictAgentResponse) XXX_Size() int

func (*EvictAgentResponse) XXX_Unmarshal

func (m *EvictAgentResponse) XXX_Unmarshal(b []byte) error

type FederatedBundle

type FederatedBundle struct {
	// Common bundle format
	Bundle               *common.Bundle `protobuf:"bytes,3,opt,name=bundle,proto3" json:"bundle,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

A CA bundle for a different Trust Domain than the one used and managed by the Server.

func (*FederatedBundle) Descriptor

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

func (*FederatedBundle) GetBundle

func (m *FederatedBundle) GetBundle() *common.Bundle

func (*FederatedBundle) ProtoMessage

func (*FederatedBundle) ProtoMessage()

func (*FederatedBundle) Reset

func (m *FederatedBundle) Reset()

func (*FederatedBundle) String

func (m *FederatedBundle) String() string

func (*FederatedBundle) XXX_DiscardUnknown

func (m *FederatedBundle) XXX_DiscardUnknown()

func (*FederatedBundle) XXX_Marshal

func (m *FederatedBundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FederatedBundle) XXX_Merge

func (m *FederatedBundle) XXX_Merge(src proto.Message)

func (*FederatedBundle) XXX_Size

func (m *FederatedBundle) XXX_Size() int

func (*FederatedBundle) XXX_Unmarshal

func (m *FederatedBundle) XXX_Unmarshal(b []byte) error

type FederatedBundleID

type FederatedBundleID struct {
	// SPIFFE ID of the federated bundle
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A type that represents a federated bundle id.

func (*FederatedBundleID) Descriptor

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

func (*FederatedBundleID) GetId

func (m *FederatedBundleID) GetId() string

func (*FederatedBundleID) ProtoMessage

func (*FederatedBundleID) ProtoMessage()

func (*FederatedBundleID) Reset

func (m *FederatedBundleID) Reset()

func (*FederatedBundleID) String

func (m *FederatedBundleID) String() string

func (*FederatedBundleID) XXX_DiscardUnknown

func (m *FederatedBundleID) XXX_DiscardUnknown()

func (*FederatedBundleID) XXX_Marshal

func (m *FederatedBundleID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FederatedBundleID) XXX_Merge

func (m *FederatedBundleID) XXX_Merge(src proto.Message)

func (*FederatedBundleID) XXX_Size

func (m *FederatedBundleID) XXX_Size() int

func (*FederatedBundleID) XXX_Unmarshal

func (m *FederatedBundleID) XXX_Unmarshal(b []byte) error

type GetNodeSelectorsRequest

type GetNodeSelectorsRequest struct {
	SpiffeId             string   `protobuf:"bytes,1,opt,name=spiffe_id,json=spiffeId,proto3" json:"spiffe_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a GetNodeSelectors request

func (*GetNodeSelectorsRequest) Descriptor

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

func (*GetNodeSelectorsRequest) GetSpiffeId

func (m *GetNodeSelectorsRequest) GetSpiffeId() string

func (*GetNodeSelectorsRequest) ProtoMessage

func (*GetNodeSelectorsRequest) ProtoMessage()

func (*GetNodeSelectorsRequest) Reset

func (m *GetNodeSelectorsRequest) Reset()

func (*GetNodeSelectorsRequest) String

func (m *GetNodeSelectorsRequest) String() string

func (*GetNodeSelectorsRequest) XXX_DiscardUnknown

func (m *GetNodeSelectorsRequest) XXX_DiscardUnknown()

func (*GetNodeSelectorsRequest) XXX_Marshal

func (m *GetNodeSelectorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNodeSelectorsRequest) XXX_Merge

func (m *GetNodeSelectorsRequest) XXX_Merge(src proto.Message)

func (*GetNodeSelectorsRequest) XXX_Size

func (m *GetNodeSelectorsRequest) XXX_Size() int

func (*GetNodeSelectorsRequest) XXX_Unmarshal

func (m *GetNodeSelectorsRequest) XXX_Unmarshal(b []byte) error

type GetNodeSelectorsResponse

type GetNodeSelectorsResponse struct {
	Selectors            *NodeSelectors `protobuf:"bytes,1,opt,name=selectors,proto3" json:"selectors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Represents a GetNodeSelectors response

func (*GetNodeSelectorsResponse) Descriptor

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

func (*GetNodeSelectorsResponse) GetSelectors

func (m *GetNodeSelectorsResponse) GetSelectors() *NodeSelectors

func (*GetNodeSelectorsResponse) ProtoMessage

func (*GetNodeSelectorsResponse) ProtoMessage()

func (*GetNodeSelectorsResponse) Reset

func (m *GetNodeSelectorsResponse) Reset()

func (*GetNodeSelectorsResponse) String

func (m *GetNodeSelectorsResponse) String() string

func (*GetNodeSelectorsResponse) XXX_DiscardUnknown

func (m *GetNodeSelectorsResponse) XXX_DiscardUnknown()

func (*GetNodeSelectorsResponse) XXX_Marshal

func (m *GetNodeSelectorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNodeSelectorsResponse) XXX_Merge

func (m *GetNodeSelectorsResponse) XXX_Merge(src proto.Message)

func (*GetNodeSelectorsResponse) XXX_Size

func (m *GetNodeSelectorsResponse) XXX_Size() int

func (*GetNodeSelectorsResponse) XXX_Unmarshal

func (m *GetNodeSelectorsResponse) XXX_Unmarshal(b []byte) error

type JoinToken

type JoinToken struct {
	// The join token. If not set, one will be generated
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// TTL in seconds
	Ttl                  int32    `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

JoinToken message is used for registering a new token

func (*JoinToken) Descriptor

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

func (*JoinToken) GetToken

func (m *JoinToken) GetToken() string

func (*JoinToken) GetTtl

func (m *JoinToken) GetTtl() int32

func (*JoinToken) ProtoMessage

func (*JoinToken) ProtoMessage()

func (*JoinToken) Reset

func (m *JoinToken) Reset()

func (*JoinToken) String

func (m *JoinToken) String() string

func (*JoinToken) XXX_DiscardUnknown

func (m *JoinToken) XXX_DiscardUnknown()

func (*JoinToken) XXX_Marshal

func (m *JoinToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JoinToken) XXX_Merge

func (m *JoinToken) XXX_Merge(src proto.Message)

func (*JoinToken) XXX_Size

func (m *JoinToken) XXX_Size() int

func (*JoinToken) XXX_Unmarshal

func (m *JoinToken) XXX_Unmarshal(b []byte) error

type ListAgentsRequest

type ListAgentsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a ListAgents request

func (*ListAgentsRequest) Descriptor

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

func (*ListAgentsRequest) ProtoMessage

func (*ListAgentsRequest) ProtoMessage()

func (*ListAgentsRequest) Reset

func (m *ListAgentsRequest) Reset()

func (*ListAgentsRequest) String

func (m *ListAgentsRequest) String() string

func (*ListAgentsRequest) XXX_DiscardUnknown

func (m *ListAgentsRequest) XXX_DiscardUnknown()

func (*ListAgentsRequest) XXX_Marshal

func (m *ListAgentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAgentsRequest) XXX_Merge

func (m *ListAgentsRequest) XXX_Merge(src proto.Message)

func (*ListAgentsRequest) XXX_Size

func (m *ListAgentsRequest) XXX_Size() int

func (*ListAgentsRequest) XXX_Unmarshal

func (m *ListAgentsRequest) XXX_Unmarshal(b []byte) error

type ListAgentsResponse

type ListAgentsResponse struct {
	// List of all attested agents
	Nodes                []*common.AttestedNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Represents a ListAgents response

func (*ListAgentsResponse) Descriptor

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

func (*ListAgentsResponse) GetNodes

func (m *ListAgentsResponse) GetNodes() []*common.AttestedNode

func (*ListAgentsResponse) ProtoMessage

func (*ListAgentsResponse) ProtoMessage()

func (*ListAgentsResponse) Reset

func (m *ListAgentsResponse) Reset()

func (*ListAgentsResponse) String

func (m *ListAgentsResponse) String() string

func (*ListAgentsResponse) XXX_DiscardUnknown

func (m *ListAgentsResponse) XXX_DiscardUnknown()

func (*ListAgentsResponse) XXX_Marshal

func (m *ListAgentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAgentsResponse) XXX_Merge

func (m *ListAgentsResponse) XXX_Merge(src proto.Message)

func (*ListAgentsResponse) XXX_Size

func (m *ListAgentsResponse) XXX_Size() int

func (*ListAgentsResponse) XXX_Unmarshal

func (m *ListAgentsResponse) XXX_Unmarshal(b []byte) error

type ListAllEntriesRequest added in v0.9.3

type ListAllEntriesRequest struct {
	Pagination           *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ListAllEntriesRequest) Descriptor added in v0.9.3

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

func (*ListAllEntriesRequest) GetPagination added in v0.9.3

func (m *ListAllEntriesRequest) GetPagination() *Pagination

func (*ListAllEntriesRequest) ProtoMessage added in v0.9.3

func (*ListAllEntriesRequest) ProtoMessage()

func (*ListAllEntriesRequest) Reset added in v0.9.3

func (m *ListAllEntriesRequest) Reset()

func (*ListAllEntriesRequest) String added in v0.9.3

func (m *ListAllEntriesRequest) String() string

func (*ListAllEntriesRequest) XXX_DiscardUnknown added in v0.9.3

func (m *ListAllEntriesRequest) XXX_DiscardUnknown()

func (*ListAllEntriesRequest) XXX_Marshal added in v0.9.3

func (m *ListAllEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAllEntriesRequest) XXX_Merge added in v0.9.3

func (m *ListAllEntriesRequest) XXX_Merge(src proto.Message)

func (*ListAllEntriesRequest) XXX_Size added in v0.9.3

func (m *ListAllEntriesRequest) XXX_Size() int

func (*ListAllEntriesRequest) XXX_Unmarshal added in v0.9.3

func (m *ListAllEntriesRequest) XXX_Unmarshal(b []byte) error

type ListAllEntriesResponse added in v0.9.3

type ListAllEntriesResponse struct {
	Entries              []*common.RegistrationEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	Pagination           *Pagination                 `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

It is used to list all registration entries with pagination

func (*ListAllEntriesResponse) Descriptor added in v0.9.3

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

func (*ListAllEntriesResponse) GetEntries added in v0.9.3

func (m *ListAllEntriesResponse) GetEntries() []*common.RegistrationEntry

func (*ListAllEntriesResponse) GetPagination added in v0.9.3

func (m *ListAllEntriesResponse) GetPagination() *Pagination

func (*ListAllEntriesResponse) ProtoMessage added in v0.9.3

func (*ListAllEntriesResponse) ProtoMessage()

func (*ListAllEntriesResponse) Reset added in v0.9.3

func (m *ListAllEntriesResponse) Reset()

func (*ListAllEntriesResponse) String added in v0.9.3

func (m *ListAllEntriesResponse) String() string

func (*ListAllEntriesResponse) XXX_DiscardUnknown added in v0.9.3

func (m *ListAllEntriesResponse) XXX_DiscardUnknown()

func (*ListAllEntriesResponse) XXX_Marshal added in v0.9.3

func (m *ListAllEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAllEntriesResponse) XXX_Merge added in v0.9.3

func (m *ListAllEntriesResponse) XXX_Merge(src proto.Message)

func (*ListAllEntriesResponse) XXX_Size added in v0.9.3

func (m *ListAllEntriesResponse) XXX_Size() int

func (*ListAllEntriesResponse) XXX_Unmarshal added in v0.9.3

func (m *ListAllEntriesResponse) XXX_Unmarshal(b []byte) error

type MintJWTSVIDRequest

type MintJWTSVIDRequest struct {
	// SPIFFE ID of the JWT-SVID
	SpiffeId string `protobuf:"bytes,1,opt,name=spiffe_id,json=spiffeId,proto3" json:"spiffe_id,omitempty"`
	// TTL of the JWT-SVID, in seconds. The server default will be used if
	// unset. The TTL is advisory only. The actual lifetime of the JWT-SVID may
	// be lower depending on the remaining lifetime of the active SPIRE Server
	// CA.
	Ttl int32 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// List of audience claims to include in the JWT-SVID. At least one must
	// be set.
	Audience             []string `protobuf:"bytes,3,rep,name=audience,proto3" json:"audience,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MintJWTSVIDRequest) Descriptor

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

func (*MintJWTSVIDRequest) GetAudience

func (m *MintJWTSVIDRequest) GetAudience() []string

func (*MintJWTSVIDRequest) GetSpiffeId

func (m *MintJWTSVIDRequest) GetSpiffeId() string

func (*MintJWTSVIDRequest) GetTtl

func (m *MintJWTSVIDRequest) GetTtl() int32

func (*MintJWTSVIDRequest) ProtoMessage

func (*MintJWTSVIDRequest) ProtoMessage()

func (*MintJWTSVIDRequest) Reset

func (m *MintJWTSVIDRequest) Reset()

func (*MintJWTSVIDRequest) String

func (m *MintJWTSVIDRequest) String() string

func (*MintJWTSVIDRequest) XXX_DiscardUnknown

func (m *MintJWTSVIDRequest) XXX_DiscardUnknown()

func (*MintJWTSVIDRequest) XXX_Marshal

func (m *MintJWTSVIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MintJWTSVIDRequest) XXX_Merge

func (m *MintJWTSVIDRequest) XXX_Merge(src proto.Message)

func (*MintJWTSVIDRequest) XXX_Size

func (m *MintJWTSVIDRequest) XXX_Size() int

func (*MintJWTSVIDRequest) XXX_Unmarshal

func (m *MintJWTSVIDRequest) XXX_Unmarshal(b []byte) error

type MintJWTSVIDResponse

type MintJWTSVIDResponse struct {
	// JWT-SVID token
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MintJWTSVIDResponse) Descriptor

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

func (*MintJWTSVIDResponse) GetToken

func (m *MintJWTSVIDResponse) GetToken() string

func (*MintJWTSVIDResponse) ProtoMessage

func (*MintJWTSVIDResponse) ProtoMessage()

func (*MintJWTSVIDResponse) Reset

func (m *MintJWTSVIDResponse) Reset()

func (*MintJWTSVIDResponse) String

func (m *MintJWTSVIDResponse) String() string

func (*MintJWTSVIDResponse) XXX_DiscardUnknown

func (m *MintJWTSVIDResponse) XXX_DiscardUnknown()

func (*MintJWTSVIDResponse) XXX_Marshal

func (m *MintJWTSVIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MintJWTSVIDResponse) XXX_Merge

func (m *MintJWTSVIDResponse) XXX_Merge(src proto.Message)

func (*MintJWTSVIDResponse) XXX_Size

func (m *MintJWTSVIDResponse) XXX_Size() int

func (*MintJWTSVIDResponse) XXX_Unmarshal

func (m *MintJWTSVIDResponse) XXX_Unmarshal(b []byte) error

type MintX509SVIDRequest

type MintX509SVIDRequest struct {
	// SPIFFE ID of the X509-SVID
	SpiffeId string `protobuf:"bytes,1,opt,name=spiffe_id,json=spiffeId,proto3" json:"spiffe_id,omitempty"`
	// ASN.1 encoded CSR. The CSR is only used to convey the public key and
	// prove possession of the private key. The rest of the CSR is ignored.
	Csr []byte `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"`
	// TTL of the X509-SVID, in seconds. The server default will be used if
	// unset. The TTL is advisory only. The actual lifetime of the X509-SVID
	// may be lower depending on the remaining lifetime of the active SPIRE
	// Server CA.
	Ttl int32 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// DNS names to include as DNS SANs in the X509-SVID. If set, the first
	// in the list is also set as the X509-SVID common name.
	DnsNames             []string `protobuf:"bytes,4,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MintX509SVIDRequest) Descriptor

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

func (*MintX509SVIDRequest) GetCsr

func (m *MintX509SVIDRequest) GetCsr() []byte

func (*MintX509SVIDRequest) GetDnsNames

func (m *MintX509SVIDRequest) GetDnsNames() []string

func (*MintX509SVIDRequest) GetSpiffeId

func (m *MintX509SVIDRequest) GetSpiffeId() string

func (*MintX509SVIDRequest) GetTtl

func (m *MintX509SVIDRequest) GetTtl() int32

func (*MintX509SVIDRequest) ProtoMessage

func (*MintX509SVIDRequest) ProtoMessage()

func (*MintX509SVIDRequest) Reset

func (m *MintX509SVIDRequest) Reset()

func (*MintX509SVIDRequest) String

func (m *MintX509SVIDRequest) String() string

func (*MintX509SVIDRequest) XXX_DiscardUnknown

func (m *MintX509SVIDRequest) XXX_DiscardUnknown()

func (*MintX509SVIDRequest) XXX_Marshal

func (m *MintX509SVIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MintX509SVIDRequest) XXX_Merge

func (m *MintX509SVIDRequest) XXX_Merge(src proto.Message)

func (*MintX509SVIDRequest) XXX_Size

func (m *MintX509SVIDRequest) XXX_Size() int

func (*MintX509SVIDRequest) XXX_Unmarshal

func (m *MintX509SVIDRequest) XXX_Unmarshal(b []byte) error

type MintX509SVIDResponse

type MintX509SVIDResponse struct {
	// X509-SVID chain. This includes the X509-SVID itself and any
	// intermediates necessary to chain back to certificates in the root_cas.
	SvidChain [][]byte `protobuf:"bytes,1,rep,name=svid_chain,json=svidChain,proto3" json:"svid_chain,omitempty"`
	// X.509 root certificates
	RootCas              [][]byte `protobuf:"bytes,2,rep,name=root_cas,json=rootCas,proto3" json:"root_cas,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MintX509SVIDResponse) Descriptor

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

func (*MintX509SVIDResponse) GetRootCas

func (m *MintX509SVIDResponse) GetRootCas() [][]byte

func (*MintX509SVIDResponse) GetSvidChain

func (m *MintX509SVIDResponse) GetSvidChain() [][]byte

func (*MintX509SVIDResponse) ProtoMessage

func (*MintX509SVIDResponse) ProtoMessage()

func (*MintX509SVIDResponse) Reset

func (m *MintX509SVIDResponse) Reset()

func (*MintX509SVIDResponse) String

func (m *MintX509SVIDResponse) String() string

func (*MintX509SVIDResponse) XXX_DiscardUnknown

func (m *MintX509SVIDResponse) XXX_DiscardUnknown()

func (*MintX509SVIDResponse) XXX_Marshal

func (m *MintX509SVIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MintX509SVIDResponse) XXX_Merge

func (m *MintX509SVIDResponse) XXX_Merge(src proto.Message)

func (*MintX509SVIDResponse) XXX_Size

func (m *MintX509SVIDResponse) XXX_Size() int

func (*MintX509SVIDResponse) XXX_Unmarshal

func (m *MintX509SVIDResponse) XXX_Unmarshal(b []byte) error

type NodeSelectors

type NodeSelectors struct {
	// Node SPIFFE ID
	SpiffeId string `protobuf:"bytes,1,opt,name=spiffe_id,json=spiffeId,proto3" json:"spiffe_id,omitempty"`
	// Node selectors
	Selectors            []*common.Selector `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*NodeSelectors) Descriptor

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

func (*NodeSelectors) GetSelectors

func (m *NodeSelectors) GetSelectors() []*common.Selector

func (*NodeSelectors) GetSpiffeId

func (m *NodeSelectors) GetSpiffeId() string

func (*NodeSelectors) ProtoMessage

func (*NodeSelectors) ProtoMessage()

func (*NodeSelectors) Reset

func (m *NodeSelectors) Reset()

func (*NodeSelectors) String

func (m *NodeSelectors) String() string

func (*NodeSelectors) XXX_DiscardUnknown

func (m *NodeSelectors) XXX_DiscardUnknown()

func (*NodeSelectors) XXX_Marshal

func (m *NodeSelectors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeSelectors) XXX_Merge

func (m *NodeSelectors) XXX_Merge(src proto.Message)

func (*NodeSelectors) XXX_Size

func (m *NodeSelectors) XXX_Size() int

func (*NodeSelectors) XXX_Unmarshal

func (m *NodeSelectors) XXX_Unmarshal(b []byte) error

type Pagination added in v0.9.3

type Pagination struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	PageSize             int32    `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A type that represents pagination for list responses

func (*Pagination) Descriptor added in v0.9.3

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

func (*Pagination) GetPageSize added in v0.9.3

func (m *Pagination) GetPageSize() int32

func (*Pagination) GetToken added in v0.9.3

func (m *Pagination) GetToken() string

func (*Pagination) ProtoMessage added in v0.9.3

func (*Pagination) ProtoMessage()

func (*Pagination) Reset added in v0.9.3

func (m *Pagination) Reset()

func (*Pagination) String added in v0.9.3

func (m *Pagination) String() string

func (*Pagination) XXX_DiscardUnknown added in v0.9.3

func (m *Pagination) XXX_DiscardUnknown()

func (*Pagination) XXX_Marshal added in v0.9.3

func (m *Pagination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pagination) XXX_Merge added in v0.9.3

func (m *Pagination) XXX_Merge(src proto.Message)

func (*Pagination) XXX_Size added in v0.9.3

func (m *Pagination) XXX_Size() int

func (*Pagination) XXX_Unmarshal added in v0.9.3

func (m *Pagination) XXX_Unmarshal(b []byte) error

type ParentID

type ParentID struct {
	// ParentId.
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A type that represents a parent Id.

func (*ParentID) Descriptor

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

func (*ParentID) GetId

func (m *ParentID) GetId() string

func (*ParentID) ProtoMessage

func (*ParentID) ProtoMessage()

func (*ParentID) Reset

func (m *ParentID) Reset()

func (*ParentID) String

func (m *ParentID) String() string

func (*ParentID) XXX_DiscardUnknown

func (m *ParentID) XXX_DiscardUnknown()

func (*ParentID) XXX_Marshal

func (m *ParentID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParentID) XXX_Merge

func (m *ParentID) XXX_Merge(src proto.Message)

func (*ParentID) XXX_Size

func (m *ParentID) XXX_Size() int

func (*ParentID) XXX_Unmarshal

func (m *ParentID) XXX_Unmarshal(b []byte) error

type RegistrationClient

type RegistrationClient interface {
	// Creates an entry in the Registration table, used to assign SPIFFE IDs to nodes and workloads.
	CreateEntry(ctx context.Context, in *common.RegistrationEntry, opts ...grpc.CallOption) (*RegistrationEntryID, error)
	// Creates an entry in the Registration table if one like it doesn't already exist
	CreateEntryIfNotExists(ctx context.Context, in *common.RegistrationEntry, opts ...grpc.CallOption) (*CreateEntryIfNotExistsResponse, error)
	// Deletes an entry and returns the deleted entry.
	DeleteEntry(ctx context.Context, in *RegistrationEntryID, opts ...grpc.CallOption) (*common.RegistrationEntry, error)
	// Retrieve a specific registered entry.
	FetchEntry(ctx context.Context, in *RegistrationEntryID, opts ...grpc.CallOption) (*common.RegistrationEntry, error)
	// Retrieve all registered entries.
	FetchEntries(ctx context.Context, in *common.Empty, opts ...grpc.CallOption) (*common.RegistrationEntries, error)
	// Updates a specific registered entry.
	UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*common.RegistrationEntry, error)
	// Returns all the Entries associated with the ParentID value.
	ListByParentID(ctx context.Context, in *ParentID, opts ...grpc.CallOption) (*common.RegistrationEntries, error)
	// Returns all the entries associated with a selector value.
	ListBySelector(ctx context.Context, in *common.Selector, opts ...grpc.CallOption) (*common.RegistrationEntries, error)
	// Returns all the entries matching the set of selectors
	ListBySelectors(ctx context.Context, in *common.Selectors, opts ...grpc.CallOption) (*common.RegistrationEntries, error)
	// Return all registration entries for which SPIFFE ID matches.
	ListBySpiffeID(ctx context.Context, in *SpiffeID, opts ...grpc.CallOption) (*common.RegistrationEntries, error)
	// Return all registration entries with pagination of default page size of 50.
	ListAllEntriesWithPages(ctx context.Context, in *ListAllEntriesRequest, opts ...grpc.CallOption) (*ListAllEntriesResponse, error)
	// Creates an entry in the Federated bundle table to store the mappings of Federated SPIFFE IDs and their associated CA bundle.
	CreateFederatedBundle(ctx context.Context, in *FederatedBundle, opts ...grpc.CallOption) (*common.Empty, error)
	// Retrieves a single federated bundle
	FetchFederatedBundle(ctx context.Context, in *FederatedBundleID, opts ...grpc.CallOption) (*FederatedBundle, error)
	// Retrieves Federated bundles for all the Federated SPIFFE IDs.
	ListFederatedBundles(ctx context.Context, in *common.Empty, opts ...grpc.CallOption) (Registration_ListFederatedBundlesClient, error)
	// Updates a particular Federated Bundle. Useful for rotation.
	UpdateFederatedBundle(ctx context.Context, in *FederatedBundle, opts ...grpc.CallOption) (*common.Empty, error)
	// Delete a particular Federated Bundle. Used to destroy inter-domain trust.
	DeleteFederatedBundle(ctx context.Context, in *DeleteFederatedBundleRequest, opts ...grpc.CallOption) (*common.Empty, error)
	// Create a new join token
	CreateJoinToken(ctx context.Context, in *JoinToken, opts ...grpc.CallOption) (*JoinToken, error)
	// Retrieves the CA bundle.
	FetchBundle(ctx context.Context, in *common.Empty, opts ...grpc.CallOption) (*Bundle, error)
	// EvictAgent removes an attestation entry from the attested nodes store
	EvictAgent(ctx context.Context, in *EvictAgentRequest, opts ...grpc.CallOption) (*EvictAgentResponse, error)
	// ListAgents will list all attested nodes
	ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error)
	// MintX509SVID mints an X509-SVID directly with the SPIRE server CA.
	MintX509SVID(ctx context.Context, in *MintX509SVIDRequest, opts ...grpc.CallOption) (*MintX509SVIDResponse, error)
	// MintJWTSVID mints a JWT-SVID directly with the SPIRE server CA.
	MintJWTSVID(ctx context.Context, in *MintJWTSVIDRequest, opts ...grpc.CallOption) (*MintJWTSVIDResponse, error)
	// GetNodeSelectors gets node (agent) selectors
	GetNodeSelectors(ctx context.Context, in *GetNodeSelectorsRequest, opts ...grpc.CallOption) (*GetNodeSelectorsResponse, error)
}

RegistrationClient is the client API for Registration service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type RegistrationEntryID

type RegistrationEntryID struct {
	// RegistrationEntryID.
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A type that represents the id of an entry.

func (*RegistrationEntryID) Descriptor

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

func (*RegistrationEntryID) GetId

func (m *RegistrationEntryID) GetId() string

func (*RegistrationEntryID) ProtoMessage

func (*RegistrationEntryID) ProtoMessage()

func (*RegistrationEntryID) Reset

func (m *RegistrationEntryID) Reset()

func (*RegistrationEntryID) String

func (m *RegistrationEntryID) String() string

func (*RegistrationEntryID) XXX_DiscardUnknown

func (m *RegistrationEntryID) XXX_DiscardUnknown()

func (*RegistrationEntryID) XXX_Marshal

func (m *RegistrationEntryID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegistrationEntryID) XXX_Merge

func (m *RegistrationEntryID) XXX_Merge(src proto.Message)

func (*RegistrationEntryID) XXX_Size

func (m *RegistrationEntryID) XXX_Size() int

func (*RegistrationEntryID) XXX_Unmarshal

func (m *RegistrationEntryID) XXX_Unmarshal(b []byte) error

type RegistrationServer

type RegistrationServer interface {
	// Creates an entry in the Registration table, used to assign SPIFFE IDs to nodes and workloads.
	CreateEntry(context.Context, *common.RegistrationEntry) (*RegistrationEntryID, error)
	// Creates an entry in the Registration table if one like it doesn't already exist
	CreateEntryIfNotExists(context.Context, *common.RegistrationEntry) (*CreateEntryIfNotExistsResponse, error)
	// Deletes an entry and returns the deleted entry.
	DeleteEntry(context.Context, *RegistrationEntryID) (*common.RegistrationEntry, error)
	// Retrieve a specific registered entry.
	FetchEntry(context.Context, *RegistrationEntryID) (*common.RegistrationEntry, error)
	// Retrieve all registered entries.
	FetchEntries(context.Context, *common.Empty) (*common.RegistrationEntries, error)
	// Updates a specific registered entry.
	UpdateEntry(context.Context, *UpdateEntryRequest) (*common.RegistrationEntry, error)
	// Returns all the Entries associated with the ParentID value.
	ListByParentID(context.Context, *ParentID) (*common.RegistrationEntries, error)
	// Returns all the entries associated with a selector value.
	ListBySelector(context.Context, *common.Selector) (*common.RegistrationEntries, error)
	// Returns all the entries matching the set of selectors
	ListBySelectors(context.Context, *common.Selectors) (*common.RegistrationEntries, error)
	// Return all registration entries for which SPIFFE ID matches.
	ListBySpiffeID(context.Context, *SpiffeID) (*common.RegistrationEntries, error)
	// Return all registration entries with pagination of default page size of 50.
	ListAllEntriesWithPages(context.Context, *ListAllEntriesRequest) (*ListAllEntriesResponse, error)
	// Creates an entry in the Federated bundle table to store the mappings of Federated SPIFFE IDs and their associated CA bundle.
	CreateFederatedBundle(context.Context, *FederatedBundle) (*common.Empty, error)
	// Retrieves a single federated bundle
	FetchFederatedBundle(context.Context, *FederatedBundleID) (*FederatedBundle, error)
	// Retrieves Federated bundles for all the Federated SPIFFE IDs.
	ListFederatedBundles(*common.Empty, Registration_ListFederatedBundlesServer) error
	// Updates a particular Federated Bundle. Useful for rotation.
	UpdateFederatedBundle(context.Context, *FederatedBundle) (*common.Empty, error)
	// Delete a particular Federated Bundle. Used to destroy inter-domain trust.
	DeleteFederatedBundle(context.Context, *DeleteFederatedBundleRequest) (*common.Empty, error)
	// Create a new join token
	CreateJoinToken(context.Context, *JoinToken) (*JoinToken, error)
	// Retrieves the CA bundle.
	FetchBundle(context.Context, *common.Empty) (*Bundle, error)
	// EvictAgent removes an attestation entry from the attested nodes store
	EvictAgent(context.Context, *EvictAgentRequest) (*EvictAgentResponse, error)
	// ListAgents will list all attested nodes
	ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)
	// MintX509SVID mints an X509-SVID directly with the SPIRE server CA.
	MintX509SVID(context.Context, *MintX509SVIDRequest) (*MintX509SVIDResponse, error)
	// MintJWTSVID mints a JWT-SVID directly with the SPIRE server CA.
	MintJWTSVID(context.Context, *MintJWTSVIDRequest) (*MintJWTSVIDResponse, error)
	// GetNodeSelectors gets node (agent) selectors
	GetNodeSelectors(context.Context, *GetNodeSelectorsRequest) (*GetNodeSelectorsResponse, error)
}

RegistrationServer is the server API for Registration service.

type Registration_ListFederatedBundlesClient

type Registration_ListFederatedBundlesClient interface {
	Recv() (*FederatedBundle, error)
	grpc.ClientStream
}

type Registration_ListFederatedBundlesServer

type Registration_ListFederatedBundlesServer interface {
	Send(*FederatedBundle) error
	grpc.ServerStream
}

type SpiffeID

type SpiffeID struct {
	// SpiffeId.
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A type that represents a SPIFFE Id.

func (*SpiffeID) Descriptor

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

func (*SpiffeID) GetId

func (m *SpiffeID) GetId() string

func (*SpiffeID) ProtoMessage

func (*SpiffeID) ProtoMessage()

func (*SpiffeID) Reset

func (m *SpiffeID) Reset()

func (*SpiffeID) String

func (m *SpiffeID) String() string

func (*SpiffeID) XXX_DiscardUnknown

func (m *SpiffeID) XXX_DiscardUnknown()

func (*SpiffeID) XXX_Marshal

func (m *SpiffeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpiffeID) XXX_Merge

func (m *SpiffeID) XXX_Merge(src proto.Message)

func (*SpiffeID) XXX_Size

func (m *SpiffeID) XXX_Size() int

func (*SpiffeID) XXX_Unmarshal

func (m *SpiffeID) XXX_Unmarshal(b []byte) error

type UnimplementedRegistrationServer

type UnimplementedRegistrationServer struct {
}

UnimplementedRegistrationServer can be embedded to have forward compatible implementations.

func (*UnimplementedRegistrationServer) CreateEntry

func (*UnimplementedRegistrationServer) CreateEntryIfNotExists added in v0.10.0

func (*UnimplementedRegistrationServer) CreateFederatedBundle

func (*UnimplementedRegistrationServer) CreateFederatedBundle(ctx context.Context, req *FederatedBundle) (*common.Empty, error)

func (*UnimplementedRegistrationServer) CreateJoinToken

func (*UnimplementedRegistrationServer) CreateJoinToken(ctx context.Context, req *JoinToken) (*JoinToken, error)

func (*UnimplementedRegistrationServer) DeleteEntry

func (*UnimplementedRegistrationServer) DeleteFederatedBundle

func (*UnimplementedRegistrationServer) EvictAgent

func (*UnimplementedRegistrationServer) FetchBundle

func (*UnimplementedRegistrationServer) FetchEntries

func (*UnimplementedRegistrationServer) FetchEntry

func (*UnimplementedRegistrationServer) FetchFederatedBundle

func (*UnimplementedRegistrationServer) GetNodeSelectors

func (*UnimplementedRegistrationServer) ListAgents

func (*UnimplementedRegistrationServer) ListAllEntriesWithPages added in v0.9.3

func (*UnimplementedRegistrationServer) ListByParentID

func (*UnimplementedRegistrationServer) ListBySelector

func (*UnimplementedRegistrationServer) ListBySelectors

func (*UnimplementedRegistrationServer) ListBySpiffeID

func (*UnimplementedRegistrationServer) ListFederatedBundles

func (*UnimplementedRegistrationServer) MintJWTSVID

func (*UnimplementedRegistrationServer) MintX509SVID

func (*UnimplementedRegistrationServer) UpdateEntry

func (*UnimplementedRegistrationServer) UpdateFederatedBundle

func (*UnimplementedRegistrationServer) UpdateFederatedBundle(ctx context.Context, req *FederatedBundle) (*common.Empty, error)

type UpdateEntryRequest

type UpdateEntryRequest struct {
	// Registration entry to update
	Entry                *common.RegistrationEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

A type used to update registration entries

func (*UpdateEntryRequest) Descriptor

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

func (*UpdateEntryRequest) GetEntry

func (*UpdateEntryRequest) ProtoMessage

func (*UpdateEntryRequest) ProtoMessage()

func (*UpdateEntryRequest) Reset

func (m *UpdateEntryRequest) Reset()

func (*UpdateEntryRequest) String

func (m *UpdateEntryRequest) String() string

func (*UpdateEntryRequest) XXX_DiscardUnknown

func (m *UpdateEntryRequest) XXX_DiscardUnknown()

func (*UpdateEntryRequest) XXX_Marshal

func (m *UpdateEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateEntryRequest) XXX_Merge

func (m *UpdateEntryRequest) XXX_Merge(src proto.Message)

func (*UpdateEntryRequest) XXX_Size

func (m *UpdateEntryRequest) XXX_Size() int

func (*UpdateEntryRequest) XXX_Unmarshal

func (m *UpdateEntryRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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