oauth

package
v0.0.0-...-6085a8f Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuthClientBuilder

type OAuthClientBuilder struct {
	// OAuthClient definition, used to create the OAuthClient object.
	Definition *oauthv1.OAuthClient
	// Created OAuthClient object.
	Object *oauthv1.OAuthClient
	// contains filtered or unexported fields
}

OAuthClientBuilder provides struct for the OAuthClient object containing connection to the cluster and the OAuthClient definitions.

func PullOAuthClient

func PullOAuthClient(apiClient *clients.Settings, name string) (*OAuthClientBuilder, error)

PullOAuthClient loads an existing OAuthClient into Builder struct.

func (*OAuthClientBuilder) Create

func (builder *OAuthClientBuilder) Create() (*OAuthClientBuilder, error)

Create constructs an OAuthClient object on the cluster from a builder.

func (*OAuthClientBuilder) Delete

func (builder *OAuthClientBuilder) Delete() error

Delete removes a OAuthClient from the cluster.

func (*OAuthClientBuilder) Exists

func (builder *OAuthClientBuilder) Exists() bool

Exists checks whether the given OAuthClient exists.

func (*OAuthClientBuilder) Get

func (builder *OAuthClientBuilder) Get() (*oauthv1.OAuthClient, error)

Get returns OAuthClient if found.

func (*OAuthClientBuilder) Update

func (builder *OAuthClientBuilder) Update() (*OAuthClientBuilder, error)

Update renovates a builder in the cluster and stores the created object in struct.

Jump to

Keyboard shortcuts

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