v1beta1

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "yale.broadinstitute.org"
View Source
const GroupVersion = "v1beta1"

Variables

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

Functions

This section is empty.

Types

type AzureClientSecret added in v0.0.37

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

	Spec AzureClientSecretSpec `json:"spec"`
}

func (AzureClientSecret) APIVersion added in v0.0.37

func (g AzureClientSecret) APIVersion() string

func (*AzureClientSecret) DeepCopyInto added in v0.0.37

func (in *AzureClientSecret) DeepCopyInto(out *AzureClientSecret)

DeepCopyInto copies all properties of this object into another object of the same type that is provided as a pointer.

func (*AzureClientSecret) DeepCopyObject added in v0.0.37

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

DeepCopyObject returns a generically typed copy of an object

func (AzureClientSecret) GoogleSecretManagerReplications added in v0.0.42

func (g AzureClientSecret) GoogleSecretManagerReplications() []GoogleSecretManagerReplication

func (AzureClientSecret) Kind added in v0.0.37

func (g AzureClientSecret) Kind() string

func (AzureClientSecret) Labels added in v0.0.37

func (g AzureClientSecret) Labels() map[string]string

func (AzureClientSecret) Name added in v0.0.37

func (g AzureClientSecret) Name() string

func (AzureClientSecret) Namespace added in v0.0.37

func (g AzureClientSecret) Namespace() string

func (AzureClientSecret) Secret added in v0.0.37

func (g AzureClientSecret) Secret() Secret

func (AzureClientSecret) SecretName added in v0.0.37

func (g AzureClientSecret) SecretName() string

func (AzureClientSecret) SpecBytes added in v0.0.37

func (g AzureClientSecret) SpecBytes() ([]byte, error)

func (AzureClientSecret) UID added in v0.0.37

func (g AzureClientSecret) UID() types.UID

func (AzureClientSecret) VaultReplications added in v0.0.37

func (g AzureClientSecret) VaultReplications() []VaultReplication

type AzureClientSecretList added in v0.0.37

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

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

func (*AzureClientSecretList) DeepCopyObject added in v0.0.37

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

DeepCopyObject returns a generically typed copy of an object

type AzureClientSecretSpec added in v0.0.37

type AzureClientSecretSpec struct {
	AzureServicePrincipal           AzureServicePrincipal            `json:"azureServicePrincipal"`
	Secret                          Secret                           `json:"secret"`
	VaultReplications               []VaultReplication               `json:"vaultReplications"`
	GoogleSecretManagerReplications []GoogleSecretManagerReplication `json:"googleSecretManagerReplications"`
	KeyRotation                     KeyRotation                      `json:"keyRotation"`
}

type AzureServicePrincipal added in v0.0.37

type AzureServicePrincipal struct {
	TenantID      string `json:"tenantID"`
	ApplicationID string `json:"applicationID"`
}

type GCPSaKeyList

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

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

func (*GCPSaKeyList) DeepCopyObject

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

DeepCopyObject returns a generically typed copy of an object

type GCPSaKeySpec

type GCPSaKeySpec struct {
	GoogleServiceAccount            GoogleServiceAccount             `json:"googleServiceAccount"`
	Secret                          Secret                           `json:"secret"`
	VaultReplications               []VaultReplication               `json:"vaultReplications"`
	GoogleSecretManagerReplications []GoogleSecretManagerReplication `json:"googleSecretManagerReplications"`
	KeyRotation                     KeyRotation                      `json:"keyRotation"`
}

type GcpSaKey added in v0.0.34

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

	Spec GCPSaKeySpec `json:"spec"`
}

func (GcpSaKey) APIVersion added in v0.0.37

func (g GcpSaKey) APIVersion() string

func (*GcpSaKey) DeepCopyInto added in v0.0.34

func (in *GcpSaKey) DeepCopyInto(out *GcpSaKey)

DeepCopyInto copies all properties of this object into another object of the same type that is provided as a pointer.

func (*GcpSaKey) DeepCopyObject added in v0.0.34

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

DeepCopyObject returns a generically typed copy of an object

func (GcpSaKey) GoogleSecretManagerReplications added in v0.0.42

func (g GcpSaKey) GoogleSecretManagerReplications() []GoogleSecretManagerReplication

func (GcpSaKey) Kind added in v0.0.37

func (g GcpSaKey) Kind() string

func (GcpSaKey) Labels added in v0.0.37

func (g GcpSaKey) Labels() map[string]string

func (GcpSaKey) Name added in v0.0.37

func (g GcpSaKey) Name() string

func (GcpSaKey) Namespace added in v0.0.37

func (g GcpSaKey) Namespace() string

func (GcpSaKey) Secret added in v0.0.37

func (g GcpSaKey) Secret() Secret

func (GcpSaKey) SecretName added in v0.0.37

func (g GcpSaKey) SecretName() string

func (GcpSaKey) SpecBytes added in v0.0.37

func (g GcpSaKey) SpecBytes() ([]byte, error)

func (GcpSaKey) UID added in v0.0.37

func (g GcpSaKey) UID() types.UID

func (GcpSaKey) VaultReplications added in v0.0.37

func (g GcpSaKey) VaultReplications() []VaultReplication

type GoogleSecretManagerReplication added in v0.0.42

type GoogleSecretManagerReplication struct {
	Secret  string            `json:"secret"`
	Project string            `json:"project"`
	Format  ReplicationFormat `json:"format"`
	Key     string            `json:"key"` // if supplied, nest key data in a JSON object { "<key-name>": "<formatted-key>" }
}

type GoogleServiceAccount

type GoogleServiceAccount struct {
	Name    string `json:"name"`
	Project string `json:"project"`
}

type KeyRotation

type KeyRotation struct {
	RotateAfter        int  `json:"rotateAfter"`
	DeleteAfter        int  `json:"deleteAfter"`
	DisableAfter       int  `json:"disableAfter"`
	IgnoreUsageMetrics bool `json:"ignoreUsageMetrics"`
}

type ReplicationFormat added in v0.0.42

type ReplicationFormat int64
const (
	Map ReplicationFormat = iota
	JSON
	Base64
	PEM
	PlainText
)

func (ReplicationFormat) MarshalText added in v0.0.42

func (f ReplicationFormat) MarshalText() ([]byte, error)

func (ReplicationFormat) String added in v0.0.42

func (f ReplicationFormat) String() string

func (*ReplicationFormat) UnmarshalText added in v0.0.42

func (f *ReplicationFormat) UnmarshalText(data []byte) error

type Secret

type Secret struct {
	Name        string `json:"name"`
	PemKeyName  string `json:"pemKeyName"`
	JsonKeyName string `json:"jsonKeyName"`
	// ClientSecretKeyName Optional field to specify the key name for an azure client secret
	ClientSecretKeyName string `json:"clientSecretKeyName,omitempty"`
}

type VaultReplication added in v0.0.20

type VaultReplication struct {
	Path   string            `json:"path"`
	Format ReplicationFormat `json:"format"`
	Key    string            `json:"key"`
}

type YaleCRD added in v0.0.37

type YaleCRD interface {
	GcpSaKey | AzureClientSecret
}

Jump to

Keyboard shortcuts

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