v1alpha1

package
v1.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API.

Index

Constants

View Source
const (
	// AzureKeyVaultObjectTypeSecret - get Secret object type from Azure Key Vault
	AzureKeyVaultObjectTypeSecret AzureKeyVaultObjectType = "secret"

	// AzureKeyVaultObjectTypeMultiKeyValueSecret - get Secret object type from Azure Key Vault containing multiple key/values
	AzureKeyVaultObjectTypeMultiKeyValueSecret = "multi-key-value-secret"

	// AzureKeyVaultObjectTypeCertificate - get Certificate object type from Azure Key Vault
	AzureKeyVaultObjectTypeCertificate = "certificate"

	// AzureKeyVaultObjectTypeKey - get Key object type from Azure Key Vault
	AzureKeyVaultObjectTypeKey = "key"

	// AzureKeyVaultObjectContentTypeJSON - object content is of type application/x-json
	AzureKeyVaultObjectContentTypeJSON AzureKeyVaultObjectContentType = "application/x-json"

	// AzureKeyVaultObjectContentTypeYaml - object content is of type application/x-yaml
	AzureKeyVaultObjectContentTypeYaml = "application/x-yaml"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: keyvault.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AzureKeyVault

type AzureKeyVault struct {
	Name   string              `json:"name"`
	Object AzureKeyVaultObject `json:"object"`
}

AzureKeyVault contains information needed to get the Azure Key Vault secret from Azure Key Vault

func (*AzureKeyVault) DeepCopy

func (in *AzureKeyVault) DeepCopy() *AzureKeyVault

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

func (*AzureKeyVault) DeepCopyInto

func (in *AzureKeyVault) DeepCopyInto(out *AzureKeyVault)

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

type AzureKeyVaultObject

type AzureKeyVaultObject struct {
	Name        string                         `json:"name"`
	Type        AzureKeyVaultObjectType        `json:"type"`
	Version     string                         `json:"version"`
	Poll        bool                           `json:"bool"`
	ContentType AzureKeyVaultObjectContentType `json:"contentType"`
}

AzureKeyVaultObject has information about the Azure Key Vault object to get from Azure Key Vault

func (*AzureKeyVaultObject) DeepCopy

func (in *AzureKeyVaultObject) DeepCopy() *AzureKeyVaultObject

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

func (*AzureKeyVaultObject) DeepCopyInto

func (in *AzureKeyVaultObject) DeepCopyInto(out *AzureKeyVaultObject)

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

type AzureKeyVaultObjectContentType

type AzureKeyVaultObjectContentType string

AzureKeyVaultObjectContentType defines what content type a secret contains

type AzureKeyVaultObjectType

type AzureKeyVaultObjectType string

AzureKeyVaultObjectType defines which Object type to get from Azure Key Vault

type AzureKeyVaultOutput

type AzureKeyVaultOutput struct {
	Secret AzureKeyVaultOutputSecret `json:"secret"`
	// +optional
	Transforms []string `json:"transforms,omitempty"`
}

AzureKeyVaultOutput defines output sources, currently only support Secret

func (*AzureKeyVaultOutput) DeepCopy

func (in *AzureKeyVaultOutput) DeepCopy() *AzureKeyVaultOutput

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

func (*AzureKeyVaultOutput) DeepCopyInto

func (in *AzureKeyVaultOutput) DeepCopyInto(out *AzureKeyVaultOutput)

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

type AzureKeyVaultOutputSecret

type AzureKeyVaultOutputSecret struct {
	Name string `json:"name"`
	// +optional
	Type    corev1.SecretType `json:"type,omitempty"`
	DataKey string            `json:"dataKey"`
}

AzureKeyVaultOutputSecret has information needed to output a secret from Azure Key Vault to Kubertnetes as a Secret resource

func (*AzureKeyVaultOutputSecret) DeepCopy

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

func (*AzureKeyVaultOutputSecret) DeepCopyInto

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

type AzureKeyVaultSecret

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

	Spec   AzureKeyVaultSecretSpec   `json:"spec"`
	Status AzureKeyVaultSecretStatus `json:"status"`
}

AzureKeyVaultSecret is a specification for a AzureKeyVaultSecret resource

func (*AzureKeyVaultSecret) DeepCopy

func (in *AzureKeyVaultSecret) DeepCopy() *AzureKeyVaultSecret

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

func (*AzureKeyVaultSecret) DeepCopyInto

func (in *AzureKeyVaultSecret) DeepCopyInto(out *AzureKeyVaultSecret)

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

func (*AzureKeyVaultSecret) DeepCopyObject

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

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

type AzureKeyVaultSecretList

type AzureKeyVaultSecretList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []AzureKeyVaultSecret `json:"items"`
}

AzureKeyVaultSecretList is a list of AzureKeyVaultSecret resources

func (*AzureKeyVaultSecretList) DeepCopy

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

func (*AzureKeyVaultSecretList) DeepCopyInto

func (in *AzureKeyVaultSecretList) DeepCopyInto(out *AzureKeyVaultSecretList)

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

func (*AzureKeyVaultSecretList) DeepCopyObject

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

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

type AzureKeyVaultSecretSpec

type AzureKeyVaultSecretSpec struct {
	Vault  AzureKeyVault       `json:"vault"`
	Output AzureKeyVaultOutput `json:"output,omitempty"`
}

AzureKeyVaultSecretSpec is the spec for a AzureKeyVaultSecret resource

func (*AzureKeyVaultSecretSpec) DeepCopy

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

func (*AzureKeyVaultSecretSpec) DeepCopyInto

func (in *AzureKeyVaultSecretSpec) DeepCopyInto(out *AzureKeyVaultSecretSpec)

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

type AzureKeyVaultSecretStatus

type AzureKeyVaultSecretStatus struct {
	SecretHash      string      `json:"secretHash"`
	LastAzureUpdate metav1.Time `json:"lastAzureUpdate,omitempty"`
	SecretName      string      `json:"secretName"`
}

AzureKeyVaultSecretStatus is the status for a AzureKeyVaultSecret resource

func (*AzureKeyVaultSecretStatus) DeepCopy

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

func (*AzureKeyVaultSecretStatus) DeepCopyInto

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