zuul

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package zuul deals with zuul-related subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAuthToken

func CreateAuthToken(kubeContext string, namespace string, authConfig string, tenant string, user string, expiry int) string

func CreateClientConfig

func CreateClientConfig(kubeContext string, namespace string, fqdn string, authConfig string, tenant string, user string, expiry int, verify bool) string

func GetTenants

func GetTenants(fqdn string, verify bool) []string

func MkZuulCmd

func MkZuulCmd() *cobra.Command

Types

type ZuulAPITenant

type ZuulAPITenant struct {
	Name     string `json:"name"`
	Projects int    `json:"projects"`
	Queue    int    `json:"queue"`
}

type ZuulClientConfigSection

type ZuulClientConfigSection struct {
	Name      string
	URL       string
	Tenant    string
	VerifySSL bool
	AuthToken string
}

Jump to

Keyboard shortcuts

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