apiobjects

package module
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretKeyRef

type SecretKeyRef struct {
	// The name of the secret in the subject's namespace to select from. If unspecified, a default secret may be elected
	// by the reconciler logic.
	Secret string `json:"secret,omitempty"`
	// The key of the secret to select from. Must be a valid secret key. If unspecified, a default key may be provided
	// by the reconciler logic.
	Key string `json:"key,omitempty"`
	// Specify whether the secret and key must be defined, default is secret-dependent. When optional, the resolved value of the
	// secret will be the empty string when either the key or the secret do not exist.
	Optional *bool `json:"optional,omitempty"`
}

SecretKeyRef is just like SecretKeySelector but the Key is also optional, and a default key (in a default secret) should be filled in by the FillDefaults method.

func (*SecretKeyRef) DeepCopy

func (in *SecretKeyRef) DeepCopy() *SecretKeyRef

DeepCopy is a deepcopy function, copying the receiver, creating a new SecretKeyRef.

func (*SecretKeyRef) DeepCopyInto

func (in *SecretKeyRef) DeepCopyInto(out *SecretKeyRef)

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

func (*SecretKeyRef) SetDefaults

func (in *SecretKeyRef) SetDefaults(r SecretKeyRef)

type SubjectStatus

type SubjectStatus struct {
	// ObservedGeneration reflects the metadata.generation last reconciled, it's a vector clock to let you know when
	// the operator is guaranteed to have affected a certain change.
	ObservedGeneration int64    `json:"observedGeneration,omitempty"`
	Issues             []string `json:"issues,omitempty"`
}

SubjectStatus struct should be inlined into the status field of any Subject, these are the "generic bits."

func (*SubjectStatus) DeepCopy

func (in *SubjectStatus) DeepCopy() *SubjectStatus

DeepCopy is a deepcopy function, copying the receiver, creating a new SubjectStatus.

func (*SubjectStatus) DeepCopyInto

func (in *SubjectStatus) DeepCopyInto(out *SubjectStatus)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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