Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(ctx context.Context, addr string, opts ...grpc.DialOption) (membershipgrpc.ServerClient, error)
Types ¶
type Authenticator ¶
type Authenticator interface {
// contains filtered or unexported methods
}
type AuthenticatorFn ¶
func BearerAuthenticator ¶
func BearerAuthenticator(issuer, clientID, clientSecret string) AuthenticatorFn
func TokenAuthenticator ¶
func TokenAuthenticator(token string) AuthenticatorFn
type K8SClient ¶
type K8SClient interface { Get(ctx context.Context, name string, options metav1.GetOptions) (*v1beta3.Stack, error) Create(ctx context.Context, stack *v1beta3.Stack) (*v1beta3.Stack, error) Update(ctx context.Context, stack *v1beta3.Stack) (*v1beta3.Stack, error) Delete(ctx context.Context, name string) error Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
Click to show internal directories.
Click to hide internal directories.