gitlab

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitlabClient

func NewGitlabClient(gitlabToken, url string) (*gitlab.Client, error)

Types

type Cluster

type Cluster struct {
	ApiUrl       string
	ClusterToken string
	CaCert       string
	Namespace    string
	GitlabToken  string
	GitlabUrl    string
}

func (*Cluster) AddGroupCluster

func (c *Cluster) AddGroupCluster(name, envScope, pid string, managed bool) error

AddGroupCluster Adds an existing Kubernetes cluster to the group.

func (*Cluster) AddProjectCluster

func (c *Cluster) AddProjectCluster(name, envScope, pid string, managed bool) error

AddProjectCluster Adds an existing Kubernetes cluster to the project.

Jump to

Keyboard shortcuts

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