Documentation ¶
Overview ¶
Package execaccessbuilder implements the IBuilder interface for ExecAccessRequest resources
Index ¶
- type ExecAccessBuilder
- func (b *ExecAccessBuilder) AccessResourcesAreReady(_ context.Context, _ client.Client, _ v1alpha1.IRequestResource, ...) (bool, error)
- func (b *ExecAccessBuilder) CreateAccessResources(ctx context.Context, client client.Client, req v1alpha1.IRequestResource, ...) (statusString string, err error)
- func (b *ExecAccessBuilder) GetAccessDuration(req v1alpha1.IRequestResource, tmpl v1alpha1.ITemplateResource) (time.Duration, string, error)
- func (b *ExecAccessBuilder) GetTemplate(ctx context.Context, client client.Client, req v1alpha1.IRequestResource) (v1alpha1.ITemplateResource, error)
- func (b *ExecAccessBuilder) SetRequestOwnerReference(ctx context.Context, client client.Client, req v1alpha1.IRequestResource, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecAccessBuilder ¶
type ExecAccessBuilder struct{}
ExecAccessBuilder implements the IBuilder interface for ExecAccessRequest resources
func (*ExecAccessBuilder) AccessResourcesAreReady ¶
func (b *ExecAccessBuilder) AccessResourcesAreReady( _ context.Context, _ client.Client, _ v1alpha1.IRequestResource, _ v1alpha1.ITemplateResource, ) (bool, error)
AccessResourcesAreReady implements the IBuilder interface
func (*ExecAccessBuilder) CreateAccessResources ¶
func (b *ExecAccessBuilder) CreateAccessResources( ctx context.Context, client client.Client, req v1alpha1.IRequestResource, tmpl v1alpha1.ITemplateResource, ) (statusString string, err error)
CreateAccessResources implements the IBuilder interface
func (*ExecAccessBuilder) GetAccessDuration ¶
func (b *ExecAccessBuilder) GetAccessDuration( req v1alpha1.IRequestResource, tmpl v1alpha1.ITemplateResource, ) (time.Duration, string, error)
GetAccessDuration implements the IBuilder interface
func (*ExecAccessBuilder) GetTemplate ¶
func (b *ExecAccessBuilder) GetTemplate( ctx context.Context, client client.Client, req v1alpha1.IRequestResource, ) (v1alpha1.ITemplateResource, error)
GetTemplate implements the IBuilder interface
func (*ExecAccessBuilder) SetRequestOwnerReference ¶
func (b *ExecAccessBuilder) SetRequestOwnerReference( ctx context.Context, client client.Client, req v1alpha1.IRequestResource, tmpl v1alpha1.ITemplateResource, ) error
SetRequestOwnerReference implements the IBuilder interface
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package internal separates out some of the internal builder logic from the top level execaccessbuilder package to make it easier to see the interface-implementing methods as separate from the backend business logic.
|
Package internal separates out some of the internal builder logic from the top level execaccessbuilder package to make it easier to see the interface-implementing methods as separate from the backend business logic. |
Click to show internal directories.
Click to hide internal directories.