gitops

package
v0.0.0-...-fd26460 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

GetSpaces returns a list of spaces in given namespace.

Jump to

Keyboard shortcuts

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