pinnipedinfo

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 7

Documentation

Overview

Package pinnipedinfo contains common code related to the Pinniped Info config map

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PinnipedInfo

type PinnipedInfo struct {
	ClusterName        string `json:"cluster_name"`
	Issuer             string `json:"issuer"`
	IssuerCABundleData string `json:"issuer_ca_bundle_data"`

	// ConciergeEndpoint does not appear to be set anywhere in tanzu-framework.
	// It appears that `pinniped kubeconfig get` will autodetect this endpoint from the current Kubeconfig context,
	// when someone invokes `tanzu pinniped-auth login` via a Kubeconfig.
	// See https://github.com/vmware-tanzu/pinniped/blob/77041760ccf3747972faa9b029fb85f0cb2b592c/cmd/pinniped/cmd/kubeconfig.go#L428-L436
	ConciergeEndpoint string `json:"concierge_endpoint,omitempty"`
}

PinnipedInfo contains settings for the supervisor.

func ByteArrayToPinnipedInfo

func ByteArrayToPinnipedInfo(responseBody []byte) (*PinnipedInfo, error)

Jump to

Keyboard shortcuts

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