execaccessbuilder

package
v0.0.0-...-50d742a Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package execaccessbuilder implements the IBuilder interface for ExecAccessRequest resources

Index

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

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

GetAccessDuration implements the IBuilder interface

func (*ExecAccessBuilder) GetTemplate

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

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.

Jump to

Keyboard shortcuts

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