Documentation ¶
Index ¶
- type BannedUserInterface
- type CRTClient
- type CRTRESTClient
- type MasterUserRecordInterface
- type SocialEventInterface
- type SpaceBindingInterface
- type SpaceInterface
- type ToolchainStatusInterface
- type UserSignupInterface
- type V1Alpha1
- type V1Alpha1REST
- func (c *V1Alpha1REST) BannedUsers() BannedUserInterface
- func (c *V1Alpha1REST) MasterUserRecords() MasterUserRecordInterface
- func (c *V1Alpha1REST) SocialEvents() SocialEventInterface
- func (c *V1Alpha1REST) SpaceBindings() SpaceBindingInterface
- func (c *V1Alpha1REST) Spaces() SpaceInterface
- func (c *V1Alpha1REST) ToolchainStatuses() ToolchainStatusInterface
- func (c *V1Alpha1REST) UserSignups() UserSignupInterface
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 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 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