v1alpha1

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v1alpha1 contains the input type for this Function +kubebuilder:object:generate=true +groupName=shell.fn.crossplane.giantswarm.io +versionName=v1alpha1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parameters

type Parameters struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// shellEnvVarsRef
	// +optional
	ShellEnvVarsRef ShellEnvVarsRef `json:"shellEnvVarsRef,omitempty"`

	// shellEnvVars
	// +optional
	ShellEnvVars []ShellEnvVar `json:"shellEnvVars,omitempty"`

	// shell
	// +optional
	// +kubebuilder:default=bash
	// +kubebuilder:validation:Enum=bash;dash;zsh
	Shell string `json:"shell,omitempty"`

	// shellCmd
	// +optional
	ShellCommand string `json:"shellCommand,omitempty"`

	// shellCmdField
	// +optional
	ShellCommandField string `json:"shellCommandField,omitempty"`

	// stdoutField
	// +optional
	StdoutField string `json:"stdoutField,omitempty"`

	// stderrField
	// +optional
	StderrField string `json:"stderrField,omitempty"`
}

Input can be used to provide input to this Function. +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:resource:categories=crossplane

func (*Parameters) DeepCopy

func (in *Parameters) DeepCopy() *Parameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameters.

func (*Parameters) DeepCopyInto

func (in *Parameters) DeepCopyInto(out *Parameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Parameters) DeepCopyObject

func (in *Parameters) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ShellEnvVar

type ShellEnvVar struct {
	Key      string `json:"key,omitempty"`
	Value    string `json:"value,omitempty"`
	ValueRef string `json:"valueRef,omitempty"`
}

func (*ShellEnvVar) DeepCopy

func (in *ShellEnvVar) DeepCopy() *ShellEnvVar

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShellEnvVar.

func (*ShellEnvVar) DeepCopyInto

func (in *ShellEnvVar) DeepCopyInto(out *ShellEnvVar)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShellEnvVarsRef

type ShellEnvVarsRef struct {
	// The Key whose value is the secret
	Keys []string `json:"keys,omitempty"`
	// Name of the enviroment variable
	Name string `json:"name,omitempty"`
}

func (*ShellEnvVarsRef) DeepCopy

func (in *ShellEnvVarsRef) DeepCopy() *ShellEnvVarsRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShellEnvVarsRef.

func (*ShellEnvVarsRef) DeepCopyInto

func (in *ShellEnvVarsRef) DeepCopyInto(out *ShellEnvVarsRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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