v1

package
v0.0.0-...-6c9cfaf Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JwtIssuerApplyConfiguration

type JwtIssuerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *JwtIssuerSpecApplyConfiguration `json:"spec,omitempty"`
}

JwtIssuerApplyConfiguration represents an declarative configuration of the JwtIssuer type for use with apply.

func JwtIssuer

func JwtIssuer(name, namespace string) *JwtIssuerApplyConfiguration

JwtIssuer constructs an declarative configuration of the JwtIssuer type for use with apply.

func (*JwtIssuerApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithAnnotations

func (b *JwtIssuerApplyConfiguration) WithAnnotations(entries map[string]string) *JwtIssuerApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*JwtIssuerApplyConfiguration) WithCreationTimestamp

func (b *JwtIssuerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *JwtIssuerApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *JwtIssuerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *JwtIssuerApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithDeletionTimestamp

func (b *JwtIssuerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *JwtIssuerApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithFinalizers

func (b *JwtIssuerApplyConfiguration) WithFinalizers(values ...string) *JwtIssuerApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*JwtIssuerApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*JwtIssuerApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*JwtIssuerApplyConfiguration) WithResourceVersion

func (b *JwtIssuerApplyConfiguration) WithResourceVersion(value string) *JwtIssuerApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*JwtIssuerApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type JwtIssuerSpecApplyConfiguration

type JwtIssuerSpecApplyConfiguration struct {
	Issuer         *string  `json:"iss,omitempty"`
	IssuerInternal *string  `json:"issInternal,omitempty"`
	Audience       []string `json:"aud,omitempty"`
	TokenExpiry    *string  `json:"tokenExpiry,omitempty"`
}

JwtIssuerSpecApplyConfiguration represents an declarative configuration of the JwtIssuerSpec type for use with apply.

func JwtIssuerSpec

func JwtIssuerSpec() *JwtIssuerSpecApplyConfiguration

JwtIssuerSpecApplyConfiguration constructs an declarative configuration of the JwtIssuerSpec type for use with apply.

func (*JwtIssuerSpecApplyConfiguration) WithAudience

WithAudience adds the given value to the Audience field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Audience field.

func (*JwtIssuerSpecApplyConfiguration) WithIssuer

WithIssuer sets the Issuer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Issuer field is set to the value of the last call.

func (*JwtIssuerSpecApplyConfiguration) WithIssuerInternal

WithIssuerInternal sets the IssuerInternal field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IssuerInternal field is set to the value of the last call.

func (*JwtIssuerSpecApplyConfiguration) WithTokenExpiry

WithTokenExpiry sets the TokenExpiry field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TokenExpiry field is set to the value of the last call.

type PolicyApplyConfiguration

type PolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PolicySpecApplyConfiguration `json:"spec,omitempty"`
}

PolicyApplyConfiguration represents an declarative configuration of the Policy type for use with apply.

func Policy

func Policy(name, namespace string) *PolicyApplyConfiguration

Policy constructs an declarative configuration of the Policy type for use with apply.

func (*PolicyApplyConfiguration) WithAPIVersion

func (b *PolicyApplyConfiguration) WithAPIVersion(value string) *PolicyApplyConfiguration

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithAnnotations

func (b *PolicyApplyConfiguration) WithAnnotations(entries map[string]string) *PolicyApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*PolicyApplyConfiguration) WithCreationTimestamp

func (b *PolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PolicyApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *PolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PolicyApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithDeletionTimestamp

func (b *PolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PolicyApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithFinalizers

func (b *PolicyApplyConfiguration) WithFinalizers(values ...string) *PolicyApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*PolicyApplyConfiguration) WithGenerateName

func (b *PolicyApplyConfiguration) WithGenerateName(value string) *PolicyApplyConfiguration

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithGeneration

func (b *PolicyApplyConfiguration) WithGeneration(value int64) *PolicyApplyConfiguration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithLabels

func (b *PolicyApplyConfiguration) WithLabels(entries map[string]string) *PolicyApplyConfiguration

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*PolicyApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithNamespace

func (b *PolicyApplyConfiguration) WithNamespace(value string) *PolicyApplyConfiguration

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*PolicyApplyConfiguration) WithResourceVersion

func (b *PolicyApplyConfiguration) WithResourceVersion(value string) *PolicyApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*PolicyApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type PolicySpecApplyConfiguration

type PolicySpecApplyConfiguration struct {
	Statement []PolicyStatementApplyConfiguration `json:"statement,omitempty"`
}

PolicySpecApplyConfiguration represents an declarative configuration of the PolicySpec type for use with apply.

func PolicySpec

func PolicySpec() *PolicySpecApplyConfiguration

PolicySpecApplyConfiguration constructs an declarative configuration of the PolicySpec type for use with apply.

func (*PolicySpecApplyConfiguration) WithStatement

WithStatement adds the given value to the Statement field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Statement field.

type PolicyStatementApplyConfiguration

type PolicyStatementApplyConfiguration struct {
	SID       *string          `json:"sid,omitempty"`
	Effect    *string          `json:"effect,omitempty"`
	Action    []string         `json:"action,omitempty"`
	Resource  []string         `json:"resource,omitempty"`
	Condition *v1.ConditionMap `json:"condition,omitempty"`
}

PolicyStatementApplyConfiguration represents an declarative configuration of the PolicyStatement type for use with apply.

func PolicyStatement

func PolicyStatement() *PolicyStatementApplyConfiguration

PolicyStatementApplyConfiguration constructs an declarative configuration of the PolicyStatement type for use with apply.

func (*PolicyStatementApplyConfiguration) WithAction

WithAction adds the given value to the Action field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Action field.

func (*PolicyStatementApplyConfiguration) WithCondition

WithCondition sets the Condition field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Condition field is set to the value of the last call.

func (*PolicyStatementApplyConfiguration) WithEffect

WithEffect sets the Effect field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Effect field is set to the value of the last call.

func (*PolicyStatementApplyConfiguration) WithResource

WithResource adds the given value to the Resource field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Resource field.

func (*PolicyStatementApplyConfiguration) WithSID

WithSID sets the SID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SID field is set to the value of the last call.

type RoleApplyConfiguration

type RoleApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *RoleSpecApplyConfiguration `json:"spec,omitempty"`
}

RoleApplyConfiguration represents an declarative configuration of the Role type for use with apply.

func Role

func Role(name, namespace string) *RoleApplyConfiguration

Role constructs an declarative configuration of the Role type for use with apply.

func (*RoleApplyConfiguration) WithAPIVersion

func (b *RoleApplyConfiguration) WithAPIVersion(value string) *RoleApplyConfiguration

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*RoleApplyConfiguration) WithAnnotations

func (b *RoleApplyConfiguration) WithAnnotations(entries map[string]string) *RoleApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*RoleApplyConfiguration) WithCreationTimestamp

func (b *RoleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RoleApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*RoleApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *RoleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RoleApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*RoleApplyConfiguration) WithDeletionTimestamp

func (b *RoleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RoleApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*RoleApplyConfiguration) WithFinalizers

func (b *RoleApplyConfiguration) WithFinalizers(values ...string) *RoleApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*RoleApplyConfiguration) WithGenerateName

func (b *RoleApplyConfiguration) WithGenerateName(value string) *RoleApplyConfiguration

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*RoleApplyConfiguration) WithGeneration

func (b *RoleApplyConfiguration) WithGeneration(value int64) *RoleApplyConfiguration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*RoleApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*RoleApplyConfiguration) WithLabels

func (b *RoleApplyConfiguration) WithLabels(entries map[string]string) *RoleApplyConfiguration

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*RoleApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RoleApplyConfiguration) WithNamespace

func (b *RoleApplyConfiguration) WithNamespace(value string) *RoleApplyConfiguration

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*RoleApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*RoleApplyConfiguration) WithResourceVersion

func (b *RoleApplyConfiguration) WithResourceVersion(value string) *RoleApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*RoleApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*RoleApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type RoleSpecApplyConfiguration

type RoleSpecApplyConfiguration struct {
	Policy    []string            `json:"policy,omitempty"`
	Principal map[string][]string `json:"principal,omitempty"`
	Condition *v1.ConditionMap    `json:"condition,omitempty"`
}

RoleSpecApplyConfiguration represents an declarative configuration of the RoleSpec type for use with apply.

func RoleSpec

func RoleSpec() *RoleSpecApplyConfiguration

RoleSpecApplyConfiguration constructs an declarative configuration of the RoleSpec type for use with apply.

func (*RoleSpecApplyConfiguration) WithCondition

WithCondition sets the Condition field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Condition field is set to the value of the last call.

func (*RoleSpecApplyConfiguration) WithPolicy

WithPolicy adds the given value to the Policy field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Policy field.

func (*RoleSpecApplyConfiguration) WithPrincipal

func (b *RoleSpecApplyConfiguration) WithPrincipal(entries map[string][]string) *RoleSpecApplyConfiguration

WithPrincipal puts the entries into the Principal field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Principal field, overwriting an existing map entries in Principal field with the same key.

Jump to

Keyboard shortcuts

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