targettypes

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

View Source
const DefaultKubeconfigKey = "kubeconfig"

DefaultKubeconfigKey is the default that is used to hold a kubeconfig.

View Source
const KubernetesClusterTargetType v1alpha1.TargetType = core.GroupName + "/kubernetes-cluster"

KubernetesClusterTargetType defines the landscaper kubernetes cluster target.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesClusterTargetConfig

type KubernetesClusterTargetConfig struct {
	// Kubeconfig defines kubeconfig as string.
	Kubeconfig ValueRef `json:"kubeconfig"`
}

KubernetesClusterTargetConfig defines the landscaper kubernetes cluster target config.

func (*KubernetesClusterTargetConfig) UnmarshalJSON

func (kc *KubernetesClusterTargetConfig) UnmarshalJSON(data []byte) error

type ValueRef

type ValueRef struct {
	StrVal *string `json:"-"`

	// deprecated
	SecretRef *v1alpha1.SecretReference `json:"secretRef,omitempty"`
}

ValueRef holds a value that can be either defined by string or by a secret ref.

func (ValueRef) MarshalJSON

func (v ValueRef) MarshalJSON() ([]byte, error)

MarshalJSON implements the json marshaling for a JSON

func (ValueRef) OpenAPISchemaFormat

func (v ValueRef) OpenAPISchemaFormat() string

func (ValueRef) OpenAPISchemaType

func (v ValueRef) OpenAPISchemaType() []string

func (*ValueRef) UnmarshalJSON

func (v *ValueRef) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json unmarshaling for a JSON

Jump to

Keyboard shortcuts

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