Documentation
¶
Index ¶
- Constants
- type RegistrationServer
- func (s *RegistrationServer) CreateInvite(ctx context.Context, req *runner_v1alpha.RunnerRegistrationCreateInvite) error
- func (s *RegistrationServer) Join(ctx context.Context, req *runner_v1alpha.RunnerRegistrationJoin) error
- func (s *RegistrationServer) ListInvites(ctx context.Context, req *runner_v1alpha.RunnerRegistrationListInvites) error
- func (s *RegistrationServer) ListRunners(ctx context.Context, req *runner_v1alpha.RunnerRegistrationListRunners) error
- func (s *RegistrationServer) RemoveRunner(ctx context.Context, req *runner_v1alpha.RunnerRegistrationRemoveRunner) error
- func (s *RegistrationServer) RevokeInvite(ctx context.Context, req *runner_v1alpha.RunnerRegistrationRevokeInvite) error
- type RegistrationServerConfig
Constants ¶
View Source
const ( DefaultInviteExpiryHours = 1 MaxInviteExpiryHours = 168 // 7 days )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistrationServer ¶
type RegistrationServer struct {
RegistrationServerConfig
}
func NewRegistrationServer ¶
func NewRegistrationServer(cfg RegistrationServerConfig) *RegistrationServer
func (*RegistrationServer) CreateInvite ¶
func (s *RegistrationServer) CreateInvite(ctx context.Context, req *runner_v1alpha.RunnerRegistrationCreateInvite) error
func (*RegistrationServer) Join ¶
func (s *RegistrationServer) Join(ctx context.Context, req *runner_v1alpha.RunnerRegistrationJoin) error
func (*RegistrationServer) ListInvites ¶
func (s *RegistrationServer) ListInvites(ctx context.Context, req *runner_v1alpha.RunnerRegistrationListInvites) error
func (*RegistrationServer) ListRunners ¶
func (s *RegistrationServer) ListRunners(ctx context.Context, req *runner_v1alpha.RunnerRegistrationListRunners) error
func (*RegistrationServer) RemoveRunner ¶ added in v0.7.0
func (s *RegistrationServer) RemoveRunner(ctx context.Context, req *runner_v1alpha.RunnerRegistrationRemoveRunner) error
func (*RegistrationServer) RevokeInvite ¶
func (s *RegistrationServer) RevokeInvite(ctx context.Context, req *runner_v1alpha.RunnerRegistrationRevokeInvite) error
type RegistrationServerConfig ¶ added in v0.7.0
type RegistrationServerConfig struct {
Log *slog.Logger
Authority *caauth.Authority
EAC *entityserver_v1alpha.EntityAccessClient
CoordinatorAddr string
EtcdEndpoints []string
EtcdPrefix string
NetworkBackend string
// Observability endpoints provided to runners at join time
VictoriametricsAddress string
VictorialogsAddress string
}
Click to show internal directories.
Click to hide internal directories.