Documentation
¶
Index ¶
- type ClusterRoleScopeRestrictionApplyConfiguration
- func (b *ClusterRoleScopeRestrictionApplyConfiguration) WithAllowEscalation(value bool) *ClusterRoleScopeRestrictionApplyConfiguration
- func (b *ClusterRoleScopeRestrictionApplyConfiguration) WithNamespaces(values ...string) *ClusterRoleScopeRestrictionApplyConfiguration
- func (b *ClusterRoleScopeRestrictionApplyConfiguration) WithRoleNames(values ...string) *ClusterRoleScopeRestrictionApplyConfiguration
- type OAuthAccessTokenApplyConfiguration
- func ExtractOAuthAccessToken(oAuthAccessToken *oauthv1.OAuthAccessToken, fieldManager string) (*OAuthAccessTokenApplyConfiguration, error)
- func ExtractOAuthAccessTokenStatus(oAuthAccessToken *oauthv1.OAuthAccessToken, fieldManager string) (*OAuthAccessTokenApplyConfiguration, error)
- func OAuthAccessToken(name string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) GetAPIVersion() *string
- func (b *OAuthAccessTokenApplyConfiguration) GetKind() *string
- func (b *OAuthAccessTokenApplyConfiguration) GetName() *string
- func (b *OAuthAccessTokenApplyConfiguration) GetNamespace() *string
- func (b OAuthAccessTokenApplyConfiguration) IsApplyConfiguration()
- func (b *OAuthAccessTokenApplyConfiguration) WithAPIVersion(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithAnnotations(entries map[string]string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithAuthorizeToken(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithClientName(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithExpiresIn(value int64) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithFinalizers(values ...string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithGenerateName(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithGeneration(value int64) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithInactivityTimeoutSeconds(value int32) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithKind(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithLabels(entries map[string]string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithName(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithNamespace(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithRedirectURI(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithRefreshToken(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithResourceVersion(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithScopes(values ...string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithUID(value types.UID) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithUserName(value string) *OAuthAccessTokenApplyConfiguration
- func (b *OAuthAccessTokenApplyConfiguration) WithUserUID(value string) *OAuthAccessTokenApplyConfiguration
- type OAuthAuthorizeTokenApplyConfiguration
- func ExtractOAuthAuthorizeToken(oAuthAuthorizeToken *oauthv1.OAuthAuthorizeToken, fieldManager string) (*OAuthAuthorizeTokenApplyConfiguration, error)
- func ExtractOAuthAuthorizeTokenStatus(oAuthAuthorizeToken *oauthv1.OAuthAuthorizeToken, fieldManager string) (*OAuthAuthorizeTokenApplyConfiguration, error)
- func OAuthAuthorizeToken(name string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) GetAPIVersion() *string
- func (b *OAuthAuthorizeTokenApplyConfiguration) GetKind() *string
- func (b *OAuthAuthorizeTokenApplyConfiguration) GetName() *string
- func (b *OAuthAuthorizeTokenApplyConfiguration) GetNamespace() *string
- func (b OAuthAuthorizeTokenApplyConfiguration) IsApplyConfiguration()
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithAPIVersion(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithAnnotations(entries map[string]string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithClientName(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithCodeChallenge(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithCodeChallengeMethod(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithExpiresIn(value int64) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithFinalizers(values ...string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithGenerateName(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithGeneration(value int64) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithKind(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithLabels(entries map[string]string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithName(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithNamespace(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithRedirectURI(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithResourceVersion(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithScopes(values ...string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithState(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithUID(value types.UID) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithUserName(value string) *OAuthAuthorizeTokenApplyConfiguration
- func (b *OAuthAuthorizeTokenApplyConfiguration) WithUserUID(value string) *OAuthAuthorizeTokenApplyConfiguration
- type OAuthClientApplyConfiguration
- func ExtractOAuthClient(oAuthClient *oauthv1.OAuthClient, fieldManager string) (*OAuthClientApplyConfiguration, error)
- func ExtractOAuthClientStatus(oAuthClient *oauthv1.OAuthClient, fieldManager string) (*OAuthClientApplyConfiguration, error)
- func OAuthClient(name string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) GetAPIVersion() *string
- func (b *OAuthClientApplyConfiguration) GetKind() *string
- func (b *OAuthClientApplyConfiguration) GetName() *string
- func (b *OAuthClientApplyConfiguration) GetNamespace() *string
- func (b OAuthClientApplyConfiguration) IsApplyConfiguration()
- func (b *OAuthClientApplyConfiguration) WithAPIVersion(value string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithAccessTokenInactivityTimeoutSeconds(value int32) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithAccessTokenMaxAgeSeconds(value int32) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithAdditionalSecrets(values ...string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithAnnotations(entries map[string]string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithFinalizers(values ...string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithGenerateName(value string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithGeneration(value int64) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithGrantMethod(value oauthv1.GrantHandlerType) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithKind(value string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithLabels(entries map[string]string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithName(value string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithNamespace(value string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithRedirectURIs(values ...string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithResourceVersion(value string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithRespondWithChallenges(value bool) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithScopeRestrictions(values ...*ScopeRestrictionApplyConfiguration) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithSecret(value string) *OAuthClientApplyConfiguration
- func (b *OAuthClientApplyConfiguration) WithUID(value types.UID) *OAuthClientApplyConfiguration
- type OAuthClientAuthorizationApplyConfiguration
- func ExtractOAuthClientAuthorization(oAuthClientAuthorization *oauthv1.OAuthClientAuthorization, ...) (*OAuthClientAuthorizationApplyConfiguration, error)
- func ExtractOAuthClientAuthorizationStatus(oAuthClientAuthorization *oauthv1.OAuthClientAuthorization, ...) (*OAuthClientAuthorizationApplyConfiguration, error)
- func OAuthClientAuthorization(name string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) GetAPIVersion() *string
- func (b *OAuthClientAuthorizationApplyConfiguration) GetKind() *string
- func (b *OAuthClientAuthorizationApplyConfiguration) GetName() *string
- func (b *OAuthClientAuthorizationApplyConfiguration) GetNamespace() *string
- func (b OAuthClientAuthorizationApplyConfiguration) IsApplyConfiguration()
- func (b *OAuthClientAuthorizationApplyConfiguration) WithAPIVersion(value string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithAnnotations(entries map[string]string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithClientName(value string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithFinalizers(values ...string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithGenerateName(value string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithGeneration(value int64) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithKind(value string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithLabels(entries map[string]string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithName(value string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithNamespace(value string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithResourceVersion(value string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithScopes(values ...string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithUID(value types.UID) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithUserName(value string) *OAuthClientAuthorizationApplyConfiguration
- func (b *OAuthClientAuthorizationApplyConfiguration) WithUserUID(value string) *OAuthClientAuthorizationApplyConfiguration
- type ScopeRestrictionApplyConfiguration
- type UserOAuthAccessTokenApplyConfiguration
- func ExtractUserOAuthAccessToken(userOAuthAccessToken *oauthv1.UserOAuthAccessToken, fieldManager string) (*UserOAuthAccessTokenApplyConfiguration, error)
- func ExtractUserOAuthAccessTokenStatus(userOAuthAccessToken *oauthv1.UserOAuthAccessToken, fieldManager string) (*UserOAuthAccessTokenApplyConfiguration, error)
- func UserOAuthAccessToken(name string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) GetAPIVersion() *string
- func (b *UserOAuthAccessTokenApplyConfiguration) GetKind() *string
- func (b *UserOAuthAccessTokenApplyConfiguration) GetName() *string
- func (b *UserOAuthAccessTokenApplyConfiguration) GetNamespace() *string
- func (b UserOAuthAccessTokenApplyConfiguration) IsApplyConfiguration()
- func (b *UserOAuthAccessTokenApplyConfiguration) WithAPIVersion(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithAnnotations(entries map[string]string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithAuthorizeToken(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithClientName(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithExpiresIn(value int64) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithFinalizers(values ...string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithGenerateName(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithGeneration(value int64) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithInactivityTimeoutSeconds(value int32) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithKind(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithLabels(entries map[string]string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithName(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithNamespace(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithRedirectURI(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithRefreshToken(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithResourceVersion(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithScopes(values ...string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithUID(value types.UID) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithUserName(value string) *UserOAuthAccessTokenApplyConfiguration
- func (b *UserOAuthAccessTokenApplyConfiguration) WithUserUID(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *ClusterRoleScopeRestrictionApplyConfiguration) WithAllowEscalation(value bool) *ClusterRoleScopeRestrictionApplyConfiguration
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 ¶
func (b *ClusterRoleScopeRestrictionApplyConfiguration) WithNamespaces(values ...string) *ClusterRoleScopeRestrictionApplyConfiguration
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 ¶
func (b *ClusterRoleScopeRestrictionApplyConfiguration) WithRoleNames(values ...string) *ClusterRoleScopeRestrictionApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*OAuthAccessTokenApplyConfiguration) GetName ¶
func (b *OAuthAccessTokenApplyConfiguration) GetName() *string
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithAPIVersion(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithAnnotations(entries map[string]string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithAuthorizeToken(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithClientName(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithExpiresIn(value int64) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithFinalizers(values ...string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithGenerateName(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithGeneration(value int64) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithKind(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithLabels(entries map[string]string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithName(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithNamespace(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithRedirectURI(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithRefreshToken(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithResourceVersion(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithScopes(values ...string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithUID(value types.UID) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithUserName(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAccessTokenApplyConfiguration) WithUserUID(value string) *OAuthAccessTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*OAuthAuthorizeTokenApplyConfiguration) GetName ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) GetName() *string
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithAPIVersion(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithAnnotations(entries map[string]string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithClientName(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithCodeChallenge(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithCodeChallengeMethod(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithExpiresIn(value int64) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithFinalizers(values ...string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithGenerateName(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithGeneration(value int64) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithKind(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithLabels(entries map[string]string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithName(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithNamespace(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithRedirectURI(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithResourceVersion(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithScopes(values ...string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithState(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithUID(value types.UID) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithUserName(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthAuthorizeTokenApplyConfiguration) WithUserUID(value string) *OAuthAuthorizeTokenApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithAPIVersion(value string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithAnnotations(entries map[string]string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithFinalizers(values ...string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithGenerateName(value string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithGeneration(value int64) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithGrantMethod(value oauthv1.GrantHandlerType) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithKind(value string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithLabels(entries map[string]string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithName(value string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithNamespace(value string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithResourceVersion(value string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithScopeRestrictions(values ...*ScopeRestrictionApplyConfiguration) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithSecret(value string) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientApplyConfiguration) WithUID(value types.UID) *OAuthClientApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*OAuthClientAuthorizationApplyConfiguration) GetKind ¶
func (b *OAuthClientAuthorizationApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*OAuthClientAuthorizationApplyConfiguration) GetName ¶
func (b *OAuthClientAuthorizationApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*OAuthClientAuthorizationApplyConfiguration) GetNamespace ¶
func (b *OAuthClientAuthorizationApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (OAuthClientAuthorizationApplyConfiguration) IsApplyConfiguration ¶
func (b OAuthClientAuthorizationApplyConfiguration) IsApplyConfiguration()
func (*OAuthClientAuthorizationApplyConfiguration) WithAPIVersion ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithAPIVersion(value string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithAnnotations(entries map[string]string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithClientName(value string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithFinalizers(values ...string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithGenerateName(value string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithGeneration(value int64) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithKind(value string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithLabels(entries map[string]string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithName(value string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithNamespace(value string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithResourceVersion(value string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithScopes(values ...string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithUID(value types.UID) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithUserName(value string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *OAuthClientAuthorizationApplyConfiguration) WithUserUID(value string) *OAuthClientAuthorizationApplyConfiguration
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 ¶
func (b *ScopeRestrictionApplyConfiguration) WithClusterRole(value *ClusterRoleScopeRestrictionApplyConfiguration) *ScopeRestrictionApplyConfiguration
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 ¶
func (b *ScopeRestrictionApplyConfiguration) WithExactValues(values ...string) *ScopeRestrictionApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*UserOAuthAccessTokenApplyConfiguration) GetName ¶
func (b *UserOAuthAccessTokenApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*UserOAuthAccessTokenApplyConfiguration) GetNamespace ¶
func (b *UserOAuthAccessTokenApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (UserOAuthAccessTokenApplyConfiguration) IsApplyConfiguration ¶
func (b UserOAuthAccessTokenApplyConfiguration) IsApplyConfiguration()
func (*UserOAuthAccessTokenApplyConfiguration) WithAPIVersion ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithAPIVersion(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithAnnotations(entries map[string]string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithAuthorizeToken(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithClientName(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithExpiresIn(value int64) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithFinalizers(values ...string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithGenerateName(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithGeneration(value int64) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithInactivityTimeoutSeconds(value int32) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithKind(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithLabels(entries map[string]string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithName(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithNamespace(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithRedirectURI(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithRefreshToken(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithResourceVersion(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithScopes(values ...string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithUID(value types.UID) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithUserName(value string) *UserOAuthAccessTokenApplyConfiguration
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 ¶
func (b *UserOAuthAccessTokenApplyConfiguration) WithUserUID(value string) *UserOAuthAccessTokenApplyConfiguration
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.