Documentation ¶
Index ¶
- type GitopsController
- func (g *GitopsController) GetSpaceRequest(namespace, name string) (*codereadytoolchainv1alpha1.SpaceRequest, error)
- func (g *GitopsController) GetSpaceRequests(namespace string) (*codereadytoolchainv1alpha1.SpaceRequestList, error)
- func (g *GitopsController) GetSpaces(namespace string) (*codereadytoolchainv1alpha1.SpaceList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitopsController ¶
type GitopsController struct { // Generates a client to interact with kubernetes clusters. *kubeCl.CustomClient }
Factory to initialize the communication against different APIs like kubernetes.
func NewSuiteController ¶
func NewSuiteController(kube *kubeCl.CustomClient) (*GitopsController, error)
Initializes all the clients and return interface to operate with application-service controller.
func (*GitopsController) GetSpaceRequest ¶
func (g *GitopsController) GetSpaceRequest(namespace, name string) (*codereadytoolchainv1alpha1.SpaceRequest, error)
GetSpaceRequest returns spaceRequest if the name exists in the namespace
func (*GitopsController) GetSpaceRequests ¶
func (g *GitopsController) GetSpaceRequests(namespace string) (*codereadytoolchainv1alpha1.SpaceRequestList, error)
GetSpaceRequests returns a list of spaceRequests in given namespace.
func (*GitopsController) GetSpaces ¶
func (g *GitopsController) GetSpaces(namespace string) (*codereadytoolchainv1alpha1.SpaceList, error)
GetSpaces returns a list of spaces in given namespace.
Click to show internal directories.
Click to hide internal directories.