kubeclient

package
v0.0.0-...-350629e Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BannedUserInterface

type BannedUserInterface interface {
	ListByEmail(email string) (*crtapi.BannedUserList, error)
	ListByPhoneNumberOrHash(phoneNumberOrHash string) (*crtapi.BannedUserList, error)
}

type CRTClient

type CRTClient interface {
	V1Alpha1() V1Alpha1
}

func NewCRTRESTClient

func NewCRTRESTClient(cfg *rest.Config, informer informers.Informer, namespace string) (CRTClient, error)

NewCRTRESTClient creates a new REST client for managing Codeready Toolchain resources via the Kubernetes API

type CRTRESTClient

type CRTRESTClient struct {
	RestClient rest.Interface
	Informer   informers.Informer
	NS         string
	Config     rest.Config
	Scheme     *runtime.Scheme
	// contains filtered or unexported fields
}

func (*CRTRESTClient) V1Alpha1

func (c *CRTRESTClient) V1Alpha1() V1Alpha1

type MasterUserRecordInterface

type MasterUserRecordInterface interface {
	Get(name string) (*crtapi.MasterUserRecord, error)
}

type SocialEventInterface

type SocialEventInterface interface {
	Get(name string) (*crtapi.SocialEvent, error)
}

type SpaceBindingInterface

type SpaceBindingInterface interface {
	ListSpaceBindings(reqs ...labels.Requirement) ([]crtapi.SpaceBinding, error)
}

type SpaceInterface

type SpaceInterface interface {
	Get(name string) (*crtapi.Space, error)
}

type ToolchainStatusInterface

type ToolchainStatusInterface interface {
	Get() (*crtapi.ToolchainStatus, error)
}

type UserSignupInterface

type UserSignupInterface interface {
	Get(name string) (*crtapi.UserSignup, error)
	Create(obj *crtapi.UserSignup) (*crtapi.UserSignup, error)
	Update(obj *crtapi.UserSignup) (*crtapi.UserSignup, error)
	ListActiveSignupsByPhoneNumberOrHash(phoneNumberOrHash string) ([]*crtapi.UserSignup, error)
}

UserSignupInterface is the interface for user signup.

type V1Alpha1

type V1Alpha1 interface {
	UserSignups() UserSignupInterface
	MasterUserRecords() MasterUserRecordInterface
	BannedUsers() BannedUserInterface
	ToolchainStatuses() ToolchainStatusInterface
	SocialEvents() SocialEventInterface
	Spaces() SpaceInterface
	SpaceBindings() SpaceBindingInterface
}

type V1Alpha1REST

type V1Alpha1REST struct {
	// contains filtered or unexported fields
}

func (*V1Alpha1REST) BannedUsers

func (c *V1Alpha1REST) BannedUsers() BannedUserInterface

BannedUsers returns an interface which may be used to perform query operations on BannedUser resources

func (*V1Alpha1REST) MasterUserRecords

func (c *V1Alpha1REST) MasterUserRecords() MasterUserRecordInterface

MasterUserRecords returns an interface which may be used to perform CRUD operations for MasterUserRecord resources

func (*V1Alpha1REST) SocialEvents

func (c *V1Alpha1REST) SocialEvents() SocialEventInterface

SocialEvents returns an interface which may be used to perform CRUD operations for SocialEvent resources

func (*V1Alpha1REST) SpaceBindings

func (c *V1Alpha1REST) SpaceBindings() SpaceBindingInterface

SpaceBindings returns an interface which may be used to perform CRUD operations for SpaceBinding resources

func (*V1Alpha1REST) Spaces

func (c *V1Alpha1REST) Spaces() SpaceInterface

Spaces returns an interface which may be used to perform CRUD operations for Space resources

func (*V1Alpha1REST) ToolchainStatuses

func (c *V1Alpha1REST) ToolchainStatuses() ToolchainStatusInterface

ToolchainStatuses returns an interface which may be used to perform query operations on ToolchainStatus resources

func (*V1Alpha1REST) UserSignups

func (c *V1Alpha1REST) UserSignups() UserSignupInterface

UserSignups returns an interface which may be used to perform CRUD operations for UserSignup resources

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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