Documentation ¶
Index ¶
- type OAuthClientBuilder
- func (builder *OAuthClientBuilder) Create() (*OAuthClientBuilder, error)
- func (builder *OAuthClientBuilder) Delete() error
- func (builder *OAuthClientBuilder) Exists() bool
- func (builder *OAuthClientBuilder) Get() (*oauthv1.OAuthClient, error)
- func (builder *OAuthClientBuilder) Update() (*OAuthClientBuilder, error)
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.
Click to show internal directories.
Click to hide internal directories.