iap

package
v1.129.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessSettings_FromProto

func AccessSettings_FromProto(mapCtx *direct.MapContext, in *pb.AccessSettings) *krm.AccessSettings

func AccessSettings_ToProto

func AccessSettings_ToProto(mapCtx *direct.MapContext, in *krm.AccessSettings) *pb.AccessSettings

func AllowedDomainsSettings_FromProto

func AllowedDomainsSettings_FromProto(mapCtx *direct.MapContext, in *pb.AllowedDomainsSettings) *krm.AllowedDomainsSettings

func AllowedDomainsSettings_ToProto

func AllowedDomainsSettings_ToProto(mapCtx *direct.MapContext, in *krm.AllowedDomainsSettings) *pb.AllowedDomainsSettings

func ApplicationSettings_FromProto

func ApplicationSettings_FromProto(mapCtx *direct.MapContext, in *pb.ApplicationSettings) *krm.ApplicationSettings

func ApplicationSettings_ToProto

func ApplicationSettings_ToProto(mapCtx *direct.MapContext, in *krm.ApplicationSettings) *pb.ApplicationSettings

func CorsSettings_FromProto

func CorsSettings_FromProto(mapCtx *direct.MapContext, in *pb.CorsSettings) *krm.CorsSettings

func CorsSettings_ToProto

func CorsSettings_ToProto(mapCtx *direct.MapContext, in *krm.CorsSettings) *pb.CorsSettings

func CsmSettings_FromProto

func CsmSettings_FromProto(mapCtx *direct.MapContext, in *pb.CsmSettings) *krm.CsmSettings

func CsmSettings_ToProto

func CsmSettings_ToProto(mapCtx *direct.MapContext, in *krm.CsmSettings) *pb.CsmSettings

func GcipSettings_FromProto

func GcipSettings_FromProto(mapCtx *direct.MapContext, in *pb.GcipSettings) *krm.GcipSettings

func GcipSettings_ToProto

func GcipSettings_ToProto(mapCtx *direct.MapContext, in *krm.GcipSettings) *pb.GcipSettings

func IAPSettingsSpec_FromProto

func IAPSettingsSpec_FromProto(mapCtx *direct.MapContext, in *pb.IapSettings) *krm.IAPSettingsSpec

func IAPSettingsSpec_ToProto

func IAPSettingsSpec_ToProto(mapCtx *direct.MapContext, in *krm.IAPSettingsSpec) *pb.IapSettings

func NewIAPSettingsModel

func NewIAPSettingsModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func OAuthSettings_FromProto

func OAuthSettings_FromProto(mapCtx *direct.MapContext, in *pb.OAuthSettings) *krm.OAuthSettings

func OAuthSettings_ToProto

func OAuthSettings_ToProto(mapCtx *direct.MapContext, in *krm.OAuthSettings) *pb.OAuthSettings

func ReauthSettings_FromProto

func ReauthSettings_FromProto(mapCtx *direct.MapContext, in *pb.ReauthSettings) *krm.ReauthSettings

func ReauthSettings_ToProto

func ReauthSettings_ToProto(mapCtx *direct.MapContext, in *krm.ReauthSettings) *pb.ReauthSettings

Types

type IAPSettingsAdapter

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

func (*IAPSettingsAdapter) Create

Create creates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

func (*IAPSettingsAdapter) Delete

func (a *IAPSettingsAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

Delete resets IAP settings to default since they cannot be truly deleted

func (*IAPSettingsAdapter) Export

Export maps the GCP object to a Config Connector resource `spec`.

func (*IAPSettingsAdapter) Find

func (a *IAPSettingsAdapter) Find(ctx context.Context) (bool, error)

Find retrieves the GCP resource. Return true means the object is found. This triggers Adapter `Update` call. Return false means the object is not found. This triggers Adapter `Create` call. Return a non-nil error requeues the requests.

func (*IAPSettingsAdapter) Update

Update updates the resource in GCP based on `spec` and update the Config Connector object `status` based on the GCP response.

Jump to

Keyboard shortcuts

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