v1

package
v0.0.0-...-db0dee3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRoleScopeRestrictionApplyConfiguration

type ClusterRoleScopeRestrictionApplyConfiguration struct {
	RoleNames       []string `json:"roleNames,omitempty"`
	Namespaces      []string `json:"namespaces,omitempty"`
	AllowEscalation *bool    `json:"allowEscalation,omitempty"`
}

ClusterRoleScopeRestrictionApplyConfiguration represents a declarative configuration of the ClusterRoleScopeRestriction type for use with apply.

func ClusterRoleScopeRestriction

func ClusterRoleScopeRestriction() *ClusterRoleScopeRestrictionApplyConfiguration

ClusterRoleScopeRestrictionApplyConfiguration constructs a declarative configuration of the ClusterRoleScopeRestriction type for use with apply.

func (*ClusterRoleScopeRestrictionApplyConfiguration) WithAllowEscalation

WithAllowEscalation sets the AllowEscalation 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 AllowEscalation field is set to the value of the last call.

func (*ClusterRoleScopeRestrictionApplyConfiguration) WithNamespaces

WithNamespaces adds the given value to the Namespaces 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 Namespaces field.

func (*ClusterRoleScopeRestrictionApplyConfiguration) WithRoleNames

WithRoleNames adds the given value to the RoleNames 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 RoleNames field.

type OAuthAccessTokenApplyConfiguration

type OAuthAccessTokenApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	ClientName                           *string  `json:"clientName,omitempty"`
	ExpiresIn                            *int64   `json:"expiresIn,omitempty"`
	Scopes                               []string `json:"scopes,omitempty"`
	RedirectURI                          *string  `json:"redirectURI,omitempty"`
	UserName                             *string  `json:"userName,omitempty"`
	UserUID                              *string  `json:"userUID,omitempty"`
	AuthorizeToken                       *string  `json:"authorizeToken,omitempty"`
	RefreshToken                         *string  `json:"refreshToken,omitempty"`
	InactivityTimeoutSeconds             *int32   `json:"inactivityTimeoutSeconds,omitempty"`
}

OAuthAccessTokenApplyConfiguration represents a declarative configuration of the OAuthAccessToken type for use with apply.

func ExtractOAuthAccessToken

func ExtractOAuthAccessToken(oAuthAccessToken *oauthv1.OAuthAccessToken, fieldManager string) (*OAuthAccessTokenApplyConfiguration, error)

ExtractOAuthAccessToken extracts the applied configuration owned by fieldManager from oAuthAccessToken. If no managedFields are found in oAuthAccessToken for fieldManager, a OAuthAccessTokenApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. oAuthAccessToken must be a unmodified OAuthAccessToken API object that was retrieved from the Kubernetes API. ExtractOAuthAccessToken provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractOAuthAccessTokenStatus

func ExtractOAuthAccessTokenStatus(oAuthAccessToken *oauthv1.OAuthAccessToken, fieldManager string) (*OAuthAccessTokenApplyConfiguration, error)

ExtractOAuthAccessTokenStatus is the same as ExtractOAuthAccessToken except that it extracts the status subresource applied configuration. Experimental!

func OAuthAccessToken

func OAuthAccessToken(name string) *OAuthAccessTokenApplyConfiguration

OAuthAccessToken constructs a declarative configuration of the OAuthAccessToken type for use with apply.

func (*OAuthAccessTokenApplyConfiguration) GetAPIVersion

func (b *OAuthAccessTokenApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OAuthAccessTokenApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OAuthAccessTokenApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*OAuthAccessTokenApplyConfiguration) GetNamespace

func (b *OAuthAccessTokenApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OAuthAccessTokenApplyConfiguration) IsApplyConfiguration

func (b OAuthAccessTokenApplyConfiguration) IsApplyConfiguration()

func (*OAuthAccessTokenApplyConfiguration) 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 (*OAuthAccessTokenApplyConfiguration) WithAnnotations

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 (*OAuthAccessTokenApplyConfiguration) WithAuthorizeToken

WithAuthorizeToken sets the AuthorizeToken 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 AuthorizeToken field is set to the value of the last call.

func (*OAuthAccessTokenApplyConfiguration) WithClientName

WithClientName sets the ClientName 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 ClientName field is set to the value of the last call.

func (*OAuthAccessTokenApplyConfiguration) WithCreationTimestamp

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 (*OAuthAccessTokenApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*OAuthAccessTokenApplyConfiguration) WithDeletionTimestamp

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 (*OAuthAccessTokenApplyConfiguration) WithExpiresIn

WithExpiresIn sets the ExpiresIn 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 ExpiresIn field is set to the value of the last call.

func (*OAuthAccessTokenApplyConfiguration) WithFinalizers

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 (*OAuthAccessTokenApplyConfiguration) 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 (*OAuthAccessTokenApplyConfiguration) 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 (*OAuthAccessTokenApplyConfiguration) WithInactivityTimeoutSeconds

func (b *OAuthAccessTokenApplyConfiguration) WithInactivityTimeoutSeconds(value int32) *OAuthAccessTokenApplyConfiguration

WithInactivityTimeoutSeconds sets the InactivityTimeoutSeconds 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 InactivityTimeoutSeconds field is set to the value of the last call.

func (*OAuthAccessTokenApplyConfiguration) 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 (*OAuthAccessTokenApplyConfiguration) 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 (*OAuthAccessTokenApplyConfiguration) 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 (*OAuthAccessTokenApplyConfiguration) 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 (*OAuthAccessTokenApplyConfiguration) 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 (*OAuthAccessTokenApplyConfiguration) WithRedirectURI

WithRedirectURI sets the RedirectURI 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 RedirectURI field is set to the value of the last call.

func (*OAuthAccessTokenApplyConfiguration) WithRefreshToken

WithRefreshToken sets the RefreshToken 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 RefreshToken field is set to the value of the last call.

func (*OAuthAccessTokenApplyConfiguration) WithResourceVersion

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 (*OAuthAccessTokenApplyConfiguration) WithScopes

WithScopes adds the given value to the Scopes 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 Scopes field.

func (*OAuthAccessTokenApplyConfiguration) 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.

func (*OAuthAccessTokenApplyConfiguration) WithUserName

WithUserName sets the UserName 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 UserName field is set to the value of the last call.

func (*OAuthAccessTokenApplyConfiguration) WithUserUID

WithUserUID sets the UserUID 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 UserUID field is set to the value of the last call.

type OAuthAuthorizeTokenApplyConfiguration

type OAuthAuthorizeTokenApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	ClientName                           *string  `json:"clientName,omitempty"`
	ExpiresIn                            *int64   `json:"expiresIn,omitempty"`
	Scopes                               []string `json:"scopes,omitempty"`
	RedirectURI                          *string  `json:"redirectURI,omitempty"`
	State                                *string  `json:"state,omitempty"`
	UserName                             *string  `json:"userName,omitempty"`
	UserUID                              *string  `json:"userUID,omitempty"`
	CodeChallenge                        *string  `json:"codeChallenge,omitempty"`
	CodeChallengeMethod                  *string  `json:"codeChallengeMethod,omitempty"`
}

OAuthAuthorizeTokenApplyConfiguration represents a declarative configuration of the OAuthAuthorizeToken type for use with apply.

func ExtractOAuthAuthorizeToken

func ExtractOAuthAuthorizeToken(oAuthAuthorizeToken *oauthv1.OAuthAuthorizeToken, fieldManager string) (*OAuthAuthorizeTokenApplyConfiguration, error)

ExtractOAuthAuthorizeToken extracts the applied configuration owned by fieldManager from oAuthAuthorizeToken. If no managedFields are found in oAuthAuthorizeToken for fieldManager, a OAuthAuthorizeTokenApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. oAuthAuthorizeToken must be a unmodified OAuthAuthorizeToken API object that was retrieved from the Kubernetes API. ExtractOAuthAuthorizeToken provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractOAuthAuthorizeTokenStatus

func ExtractOAuthAuthorizeTokenStatus(oAuthAuthorizeToken *oauthv1.OAuthAuthorizeToken, fieldManager string) (*OAuthAuthorizeTokenApplyConfiguration, error)

ExtractOAuthAuthorizeTokenStatus is the same as ExtractOAuthAuthorizeToken except that it extracts the status subresource applied configuration. Experimental!

func OAuthAuthorizeToken

func OAuthAuthorizeToken(name string) *OAuthAuthorizeTokenApplyConfiguration

OAuthAuthorizeToken constructs a declarative configuration of the OAuthAuthorizeToken type for use with apply.

func (*OAuthAuthorizeTokenApplyConfiguration) GetAPIVersion

func (b *OAuthAuthorizeTokenApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OAuthAuthorizeTokenApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OAuthAuthorizeTokenApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*OAuthAuthorizeTokenApplyConfiguration) GetNamespace

func (b *OAuthAuthorizeTokenApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OAuthAuthorizeTokenApplyConfiguration) IsApplyConfiguration

func (b OAuthAuthorizeTokenApplyConfiguration) IsApplyConfiguration()

func (*OAuthAuthorizeTokenApplyConfiguration) 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 (*OAuthAuthorizeTokenApplyConfiguration) WithAnnotations

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 (*OAuthAuthorizeTokenApplyConfiguration) WithClientName

WithClientName sets the ClientName 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 ClientName field is set to the value of the last call.

func (*OAuthAuthorizeTokenApplyConfiguration) WithCodeChallenge

WithCodeChallenge sets the CodeChallenge 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 CodeChallenge field is set to the value of the last call.

func (*OAuthAuthorizeTokenApplyConfiguration) WithCodeChallengeMethod

WithCodeChallengeMethod sets the CodeChallengeMethod 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 CodeChallengeMethod field is set to the value of the last call.

func (*OAuthAuthorizeTokenApplyConfiguration) WithCreationTimestamp

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 (*OAuthAuthorizeTokenApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*OAuthAuthorizeTokenApplyConfiguration) WithDeletionTimestamp

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 (*OAuthAuthorizeTokenApplyConfiguration) WithExpiresIn

WithExpiresIn sets the ExpiresIn 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 ExpiresIn field is set to the value of the last call.

func (*OAuthAuthorizeTokenApplyConfiguration) WithFinalizers

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 (*OAuthAuthorizeTokenApplyConfiguration) 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 (*OAuthAuthorizeTokenApplyConfiguration) 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 (*OAuthAuthorizeTokenApplyConfiguration) 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 (*OAuthAuthorizeTokenApplyConfiguration) 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 (*OAuthAuthorizeTokenApplyConfiguration) 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 (*OAuthAuthorizeTokenApplyConfiguration) 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 (*OAuthAuthorizeTokenApplyConfiguration) 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 (*OAuthAuthorizeTokenApplyConfiguration) WithRedirectURI

WithRedirectURI sets the RedirectURI 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 RedirectURI field is set to the value of the last call.

func (*OAuthAuthorizeTokenApplyConfiguration) WithResourceVersion

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 (*OAuthAuthorizeTokenApplyConfiguration) WithScopes

WithScopes adds the given value to the Scopes 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 Scopes field.

func (*OAuthAuthorizeTokenApplyConfiguration) WithState

WithState sets the State 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 State field is set to the value of the last call.

func (*OAuthAuthorizeTokenApplyConfiguration) 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.

func (*OAuthAuthorizeTokenApplyConfiguration) WithUserName

WithUserName sets the UserName 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 UserName field is set to the value of the last call.

func (*OAuthAuthorizeTokenApplyConfiguration) WithUserUID

WithUserUID sets the UserUID 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 UserUID field is set to the value of the last call.

type OAuthClientApplyConfiguration

type OAuthClientApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Secret                               *string                              `json:"secret,omitempty"`
	AdditionalSecrets                    []string                             `json:"additionalSecrets,omitempty"`
	RespondWithChallenges                *bool                                `json:"respondWithChallenges,omitempty"`
	RedirectURIs                         []string                             `json:"redirectURIs,omitempty"`
	GrantMethod                          *oauthv1.GrantHandlerType            `json:"grantMethod,omitempty"`
	ScopeRestrictions                    []ScopeRestrictionApplyConfiguration `json:"scopeRestrictions,omitempty"`
	AccessTokenMaxAgeSeconds             *int32                               `json:"accessTokenMaxAgeSeconds,omitempty"`
	AccessTokenInactivityTimeoutSeconds  *int32                               `json:"accessTokenInactivityTimeoutSeconds,omitempty"`
}

OAuthClientApplyConfiguration represents a declarative configuration of the OAuthClient type for use with apply.

func ExtractOAuthClient

func ExtractOAuthClient(oAuthClient *oauthv1.OAuthClient, fieldManager string) (*OAuthClientApplyConfiguration, error)

ExtractOAuthClient extracts the applied configuration owned by fieldManager from oAuthClient. If no managedFields are found in oAuthClient for fieldManager, a OAuthClientApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. oAuthClient must be a unmodified OAuthClient API object that was retrieved from the Kubernetes API. ExtractOAuthClient provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractOAuthClientStatus

func ExtractOAuthClientStatus(oAuthClient *oauthv1.OAuthClient, fieldManager string) (*OAuthClientApplyConfiguration, error)

ExtractOAuthClientStatus is the same as ExtractOAuthClient except that it extracts the status subresource applied configuration. Experimental!

func OAuthClient

func OAuthClient(name string) *OAuthClientApplyConfiguration

OAuthClient constructs a declarative configuration of the OAuthClient type for use with apply.

func (*OAuthClientApplyConfiguration) GetAPIVersion

func (b *OAuthClientApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OAuthClientApplyConfiguration) GetKind

func (b *OAuthClientApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OAuthClientApplyConfiguration) GetName

func (b *OAuthClientApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*OAuthClientApplyConfiguration) GetNamespace

func (b *OAuthClientApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OAuthClientApplyConfiguration) IsApplyConfiguration

func (b OAuthClientApplyConfiguration) IsApplyConfiguration()

func (*OAuthClientApplyConfiguration) 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 (*OAuthClientApplyConfiguration) WithAccessTokenInactivityTimeoutSeconds

func (b *OAuthClientApplyConfiguration) WithAccessTokenInactivityTimeoutSeconds(value int32) *OAuthClientApplyConfiguration

WithAccessTokenInactivityTimeoutSeconds sets the AccessTokenInactivityTimeoutSeconds 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 AccessTokenInactivityTimeoutSeconds field is set to the value of the last call.

func (*OAuthClientApplyConfiguration) WithAccessTokenMaxAgeSeconds

func (b *OAuthClientApplyConfiguration) WithAccessTokenMaxAgeSeconds(value int32) *OAuthClientApplyConfiguration

WithAccessTokenMaxAgeSeconds sets the AccessTokenMaxAgeSeconds 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 AccessTokenMaxAgeSeconds field is set to the value of the last call.

func (*OAuthClientApplyConfiguration) WithAdditionalSecrets

func (b *OAuthClientApplyConfiguration) WithAdditionalSecrets(values ...string) *OAuthClientApplyConfiguration

WithAdditionalSecrets adds the given value to the AdditionalSecrets 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 AdditionalSecrets field.

func (*OAuthClientApplyConfiguration) WithAnnotations

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 (*OAuthClientApplyConfiguration) WithCreationTimestamp

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 (*OAuthClientApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*OAuthClientApplyConfiguration) WithDeletionTimestamp

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 (*OAuthClientApplyConfiguration) WithFinalizers

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 (*OAuthClientApplyConfiguration) 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 (*OAuthClientApplyConfiguration) 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 (*OAuthClientApplyConfiguration) WithGrantMethod

WithGrantMethod sets the GrantMethod 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 GrantMethod field is set to the value of the last call.

func (*OAuthClientApplyConfiguration) 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 (*OAuthClientApplyConfiguration) 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 (*OAuthClientApplyConfiguration) 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 (*OAuthClientApplyConfiguration) 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 (*OAuthClientApplyConfiguration) 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 (*OAuthClientApplyConfiguration) WithRedirectURIs

func (b *OAuthClientApplyConfiguration) WithRedirectURIs(values ...string) *OAuthClientApplyConfiguration

WithRedirectURIs adds the given value to the RedirectURIs 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 RedirectURIs field.

func (*OAuthClientApplyConfiguration) WithResourceVersion

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 (*OAuthClientApplyConfiguration) WithRespondWithChallenges

func (b *OAuthClientApplyConfiguration) WithRespondWithChallenges(value bool) *OAuthClientApplyConfiguration

WithRespondWithChallenges sets the RespondWithChallenges 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 RespondWithChallenges field is set to the value of the last call.

func (*OAuthClientApplyConfiguration) WithScopeRestrictions

WithScopeRestrictions adds the given value to the ScopeRestrictions 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 ScopeRestrictions field.

func (*OAuthClientApplyConfiguration) WithSecret

WithSecret sets the Secret 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 Secret field is set to the value of the last call.

func (*OAuthClientApplyConfiguration) 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 OAuthClientAuthorizationApplyConfiguration

type OAuthClientAuthorizationApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	ClientName                           *string  `json:"clientName,omitempty"`
	UserName                             *string  `json:"userName,omitempty"`
	UserUID                              *string  `json:"userUID,omitempty"`
	Scopes                               []string `json:"scopes,omitempty"`
}

OAuthClientAuthorizationApplyConfiguration represents a declarative configuration of the OAuthClientAuthorization type for use with apply.

func ExtractOAuthClientAuthorization

func ExtractOAuthClientAuthorization(oAuthClientAuthorization *oauthv1.OAuthClientAuthorization, fieldManager string) (*OAuthClientAuthorizationApplyConfiguration, error)

ExtractOAuthClientAuthorization extracts the applied configuration owned by fieldManager from oAuthClientAuthorization. If no managedFields are found in oAuthClientAuthorization for fieldManager, a OAuthClientAuthorizationApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. oAuthClientAuthorization must be a unmodified OAuthClientAuthorization API object that was retrieved from the Kubernetes API. ExtractOAuthClientAuthorization provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractOAuthClientAuthorizationStatus

func ExtractOAuthClientAuthorizationStatus(oAuthClientAuthorization *oauthv1.OAuthClientAuthorization, fieldManager string) (*OAuthClientAuthorizationApplyConfiguration, error)

ExtractOAuthClientAuthorizationStatus is the same as ExtractOAuthClientAuthorization except that it extracts the status subresource applied configuration. Experimental!

func OAuthClientAuthorization

func OAuthClientAuthorization(name string) *OAuthClientAuthorizationApplyConfiguration

OAuthClientAuthorization constructs a declarative configuration of the OAuthClientAuthorization type for use with apply.

func (*OAuthClientAuthorizationApplyConfiguration) GetAPIVersion

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OAuthClientAuthorizationApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OAuthClientAuthorizationApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*OAuthClientAuthorizationApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OAuthClientAuthorizationApplyConfiguration) IsApplyConfiguration

func (b OAuthClientAuthorizationApplyConfiguration) IsApplyConfiguration()

func (*OAuthClientAuthorizationApplyConfiguration) 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 (*OAuthClientAuthorizationApplyConfiguration) WithAnnotations

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 (*OAuthClientAuthorizationApplyConfiguration) WithClientName

WithClientName sets the ClientName 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 ClientName field is set to the value of the last call.

func (*OAuthClientAuthorizationApplyConfiguration) WithCreationTimestamp

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 (*OAuthClientAuthorizationApplyConfiguration) WithDeletionGracePeriodSeconds

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 (*OAuthClientAuthorizationApplyConfiguration) WithDeletionTimestamp

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 (*OAuthClientAuthorizationApplyConfiguration) WithFinalizers

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 (*OAuthClientAuthorizationApplyConfiguration) 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 (*OAuthClientAuthorizationApplyConfiguration) 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 (*OAuthClientAuthorizationApplyConfiguration) 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 (*OAuthClientAuthorizationApplyConfiguration) 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 (*OAuthClientAuthorizationApplyConfiguration) 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 (*OAuthClientAuthorizationApplyConfiguration) 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 (*OAuthClientAuthorizationApplyConfiguration) 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 (*OAuthClientAuthorizationApplyConfiguration) WithResourceVersion

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 (*OAuthClientAuthorizationApplyConfiguration) WithScopes

WithScopes adds the given value to the Scopes 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 Scopes field.

func (*OAuthClientAuthorizationApplyConfiguration) 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.

func (*OAuthClientAuthorizationApplyConfiguration) WithUserName

WithUserName sets the UserName 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 UserName field is set to the value of the last call.

func (*OAuthClientAuthorizationApplyConfiguration) WithUserUID

WithUserUID sets the UserUID 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 UserUID field is set to the value of the last call.

type ScopeRestrictionApplyConfiguration

type ScopeRestrictionApplyConfiguration struct {
	ExactValues []string                                       `json:"literals,omitempty"`
	ClusterRole *ClusterRoleScopeRestrictionApplyConfiguration `json:"clusterRole,omitempty"`
}

ScopeRestrictionApplyConfiguration represents a declarative configuration of the ScopeRestriction type for use with apply.

func ScopeRestriction

func ScopeRestriction() *ScopeRestrictionApplyConfiguration

ScopeRestrictionApplyConfiguration constructs a declarative configuration of the ScopeRestriction type for use with apply.

func (*ScopeRestrictionApplyConfiguration) WithClusterRole

WithClusterRole sets the ClusterRole 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 ClusterRole field is set to the value of the last call.

func (*ScopeRestrictionApplyConfiguration) WithExactValues

WithExactValues adds the given value to the ExactValues 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 ExactValues field.

type UserOAuthAccessTokenApplyConfiguration

type UserOAuthAccessTokenApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	ClientName                           *string  `json:"clientName,omitempty"`
	ExpiresIn                            *int64   `json:"expiresIn,omitempty"`
	Scopes                               []string `json:"scopes,omitempty"`
	RedirectURI                          *string  `json:"redirectURI,omitempty"`
	UserName                             *string  `json:"userName,omitempty"`
	UserUID                              *string  `json:"userUID,omitempty"`
	AuthorizeToken                       *string  `json:"authorizeToken,omitempty"`
	RefreshToken                         *string  `json:"refreshToken,omitempty"`
	InactivityTimeoutSeconds             *int32   `json:"inactivityTimeoutSeconds,omitempty"`
}

UserOAuthAccessTokenApplyConfiguration represents a declarative configuration of the UserOAuthAccessToken type for use with apply.

func ExtractUserOAuthAccessToken

func ExtractUserOAuthAccessToken(userOAuthAccessToken *oauthv1.UserOAuthAccessToken, fieldManager string) (*UserOAuthAccessTokenApplyConfiguration, error)

ExtractUserOAuthAccessToken extracts the applied configuration owned by fieldManager from userOAuthAccessToken. If no managedFields are found in userOAuthAccessToken for fieldManager, a UserOAuthAccessTokenApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. userOAuthAccessToken must be a unmodified UserOAuthAccessToken API object that was retrieved from the Kubernetes API. ExtractUserOAuthAccessToken provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractUserOAuthAccessTokenStatus

func ExtractUserOAuthAccessTokenStatus(userOAuthAccessToken *oauthv1.UserOAuthAccessToken, fieldManager string) (*UserOAuthAccessTokenApplyConfiguration, error)

ExtractUserOAuthAccessTokenStatus is the same as ExtractUserOAuthAccessToken except that it extracts the status subresource applied configuration. Experimental!

func UserOAuthAccessToken

func UserOAuthAccessToken(name string) *UserOAuthAccessTokenApplyConfiguration

UserOAuthAccessToken constructs a declarative configuration of the UserOAuthAccessToken type for use with apply.

func (*UserOAuthAccessTokenApplyConfiguration) GetAPIVersion

func (b *UserOAuthAccessTokenApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*UserOAuthAccessTokenApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*UserOAuthAccessTokenApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*UserOAuthAccessTokenApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (UserOAuthAccessTokenApplyConfiguration) IsApplyConfiguration

func (b UserOAuthAccessTokenApplyConfiguration) IsApplyConfiguration()

func (*UserOAuthAccessTokenApplyConfiguration) 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 (*UserOAuthAccessTokenApplyConfiguration) WithAnnotations

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 (*UserOAuthAccessTokenApplyConfiguration) WithAuthorizeToken

WithAuthorizeToken sets the AuthorizeToken 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 AuthorizeToken field is set to the value of the last call.

func (*UserOAuthAccessTokenApplyConfiguration) WithClientName

WithClientName sets the ClientName 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 ClientName field is set to the value of the last call.

func (*UserOAuthAccessTokenApplyConfiguration) WithCreationTimestamp

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 (*UserOAuthAccessTokenApplyConfiguration) WithDeletionGracePeriodSeconds

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 (*UserOAuthAccessTokenApplyConfiguration) WithDeletionTimestamp

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 (*UserOAuthAccessTokenApplyConfiguration) WithExpiresIn

WithExpiresIn sets the ExpiresIn 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 ExpiresIn field is set to the value of the last call.

func (*UserOAuthAccessTokenApplyConfiguration) WithFinalizers

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 (*UserOAuthAccessTokenApplyConfiguration) 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 (*UserOAuthAccessTokenApplyConfiguration) 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 (*UserOAuthAccessTokenApplyConfiguration) WithInactivityTimeoutSeconds

WithInactivityTimeoutSeconds sets the InactivityTimeoutSeconds 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 InactivityTimeoutSeconds field is set to the value of the last call.

func (*UserOAuthAccessTokenApplyConfiguration) 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 (*UserOAuthAccessTokenApplyConfiguration) 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 (*UserOAuthAccessTokenApplyConfiguration) 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 (*UserOAuthAccessTokenApplyConfiguration) 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 (*UserOAuthAccessTokenApplyConfiguration) 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 (*UserOAuthAccessTokenApplyConfiguration) WithRedirectURI

WithRedirectURI sets the RedirectURI 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 RedirectURI field is set to the value of the last call.

func (*UserOAuthAccessTokenApplyConfiguration) WithRefreshToken

WithRefreshToken sets the RefreshToken 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 RefreshToken field is set to the value of the last call.

func (*UserOAuthAccessTokenApplyConfiguration) WithResourceVersion

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 (*UserOAuthAccessTokenApplyConfiguration) WithScopes

WithScopes adds the given value to the Scopes 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 Scopes field.

func (*UserOAuthAccessTokenApplyConfiguration) 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.

func (*UserOAuthAccessTokenApplyConfiguration) WithUserName

WithUserName sets the UserName 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 UserName field is set to the value of the last call.

func (*UserOAuthAccessTokenApplyConfiguration) WithUserUID

WithUserUID sets the UserUID 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 UserUID field is set to the value of the last call.

Jump to

Keyboard shortcuts

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