installgcp

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccessLogs         = "access-logs"
	GcpKey             = "gcloud"
	SharingRestriction = "sharing-restriction"
)

Variables

View Source
var GcpOrganizationIdRegex = regexp.MustCompile(`^[\d]+$`)
View Source
var GcpProjectIdRegex = regexp.MustCompile(`^[\w-]+$`)

Functions

func NewGcp

func NewGcp() resource.Resource

func NewGcpAccessLogs

func NewGcpAccessLogs() resource.Resource

func NewGcpIamAssessment

func NewGcpIamAssessment() resource.Resource

func NewGcpIamAssessmentStaged

func NewGcpIamAssessmentStaged() resource.Resource

func NewGcpIamWrite

func NewGcpIamWrite() resource.Resource

func NewGcpIamWriteStaged

func NewGcpIamWriteStaged() resource.Resource

func NewGcpSharingRestriction

func NewGcpSharingRestriction() resource.Resource

Types

type Gcp

type Gcp struct {
	// contains filtered or unexported fields
}

func (*Gcp) Configure

func (r *Gcp) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*Gcp) Create

func (r *Gcp) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)

func (*Gcp) Delete

func (r *Gcp) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*Gcp) ImportState

func (r *Gcp) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)

func (*Gcp) Metadata

func (r *Gcp) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)

func (*Gcp) Read

func (r *Gcp) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)

func (*Gcp) Schema

func (r *Gcp) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)

func (*Gcp) Update

func (r *Gcp) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)

type GcpAccessLogs

type GcpAccessLogs struct {
	// contains filtered or unexported fields
}

func (*GcpAccessLogs) Configure

func (*GcpAccessLogs) Create

func (*GcpAccessLogs) Delete

func (*GcpAccessLogs) ImportState

func (*GcpAccessLogs) Metadata

func (*GcpAccessLogs) Read

func (*GcpAccessLogs) Schema

func (*GcpAccessLogs) Update

type GcpIamAssessment

type GcpIamAssessment struct {
	// contains filtered or unexported fields
}

func (*GcpIamAssessment) Configure

func (*GcpIamAssessment) Create

func (*GcpIamAssessment) Delete

func (*GcpIamAssessment) ImportState

func (*GcpIamAssessment) Metadata

func (*GcpIamAssessment) Read

func (*GcpIamAssessment) Schema

func (*GcpIamAssessment) Update

type GcpIamAssessmentStaged

type GcpIamAssessmentStaged struct {
	// contains filtered or unexported fields
}

func (*GcpIamAssessmentStaged) Configure

func (*GcpIamAssessmentStaged) Create

func (*GcpIamAssessmentStaged) Delete

Skips the unstaging step, as it is not needed for ssh integrations and instead performs a full delete.

func (*GcpIamAssessmentStaged) ImportState

func (*GcpIamAssessmentStaged) Metadata

func (*GcpIamAssessmentStaged) Read

func (*GcpIamAssessmentStaged) Schema

func (*GcpIamAssessmentStaged) Update

Update implements resource.ResourceWithImportState.

type GcpIamWrite

type GcpIamWrite struct {
	// contains filtered or unexported fields
}

func (*GcpIamWrite) Configure

func (*GcpIamWrite) Create

func (*GcpIamWrite) Delete

func (*GcpIamWrite) ImportState

func (*GcpIamWrite) Metadata

func (*GcpIamWrite) Read

func (*GcpIamWrite) Schema

func (*GcpIamWrite) Update

type GcpIamWriteStaged

type GcpIamWriteStaged struct {
	// contains filtered or unexported fields
}

func (*GcpIamWriteStaged) Configure

func (*GcpIamWriteStaged) Create

func (*GcpIamWriteStaged) Delete

Skips the unstaging step, as it is not needed for ssh integrations and instead performs a full delete.

func (*GcpIamWriteStaged) ImportState

func (*GcpIamWriteStaged) Metadata

func (*GcpIamWriteStaged) Read

func (*GcpIamWriteStaged) Schema

func (*GcpIamWriteStaged) Update

Update implements resource.ResourceWithImportState.

type GcpSharingRestriction

type GcpSharingRestriction struct {
	// contains filtered or unexported fields
}

func (*GcpSharingRestriction) Configure

func (*GcpSharingRestriction) Create

func (*GcpSharingRestriction) Delete

func (*GcpSharingRestriction) ImportState

func (*GcpSharingRestriction) Metadata

func (*GcpSharingRestriction) Read

func (*GcpSharingRestriction) Schema

func (*GcpSharingRestriction) Update

Jump to

Keyboard shortcuts

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