iamtf

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAsBool

func GetAsBool(d *schema.ResourceData, k string, v bool) bool

func GetAsIface

func GetAsIface(d *schema.ResourceData, k string, v interface{}) interface{}

func GetAsInt32

func GetAsInt32(d *schema.ResourceData, k string, v int32) int32

func GetAsString

func GetAsString(d *schema.ResourceData, k string, v string) string

func Provider

func Provider() *schema.Provider

Provider establishes a client connection to JOSSO server determined by its schema string values

func PtrSchemaAsSpacedList added in v0.3.1

func PtrSchemaAsSpacedList(d *schema.ResourceData, p string) (bool, string)

This builds a space separetd string with the values of the given schema resource (TypeSet -> TypeString)

func PtrSchemaBool

func PtrSchemaBool(d *schema.ResourceData, p string) *bool

func PtrSchemaInt

func PtrSchemaInt(d *schema.ResourceData, p string) *int

func PtrSchemaInt32

func PtrSchemaInt32(d *schema.ResourceData, p string) *int32

func PtrSchemaInt64

func PtrSchemaInt64(d *schema.ResourceData, p string) *int64

func PtrSchemaLocation

func PtrSchemaLocation(d *schema.ResourceData, p string) (*api.LocationDTO, error)

func PtrSchemaStr

func PtrSchemaStr(d *schema.ResourceData, p string) *string

Gets the value of the resources property as a string pointer

func PtrSchemaStrPointer

func PtrSchemaStrPointer(d *schema.ResourceData, p *string) *string

func ResourceExtSaml2Sp

func ResourceExtSaml2Sp() *schema.Resource

func ResourceIISExecenv added in v0.7.0

func ResourceIISExecenv() *schema.Resource

func ResourceIdFacebook added in v0.3.1

func ResourceIdFacebook() *schema.Resource

func ResourceIdP

func ResourceIdP() *schema.Resource

func ResourceIdPSaml2 added in v0.7.2

func ResourceIdPSaml2() *schema.Resource

func ResourceIdSourceLdap

func ResourceIdSourceLdap() *schema.Resource

func ResourceIdVault

func ResourceIdVault() *schema.Resource

func ResourceIdentityAppliance

func ResourceIdentityAppliance() *schema.Resource

func ResourceJosso1Re

func ResourceJosso1Re() *schema.Resource

func ResourceOidcRp

func ResourceOidcRp() *schema.Resource

func ResourcePhpExecenv

func ResourcePhpExecenv() *schema.Resource

func ResourceSelfService added in v0.5.3

func ResourceSelfService() *schema.Resource

func ResourceSharePoint added in v0.3.1

func ResourceSharePoint() *schema.Resource

func ResourceTomcatExecenv

func ResourceTomcatExecenv() *schema.Resource

func ResourceVP added in v0.5.3

func ResourceVP() *schema.Resource

func ResourceWebLogicExecenv added in v0.3.1

func ResourceWebLogicExecenv() *schema.Resource

func ResourcedbidSource

func ResourcedbidSource() *schema.Resource

func ResourceidAzure added in v0.3.1

func ResourceidAzure() *schema.Resource

func ResourceidGoogle added in v0.3.1

func ResourceidGoogle() *schema.Resource

func SpacedListToSet added in v0.3.1

func SpacedListToSet(strLs string) (bool, *schema.Set)

Types

type Config

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

Config contains our provider schema values and JOSSO client

func (*Config) Logger

func (c *Config) Logger() hclog.Logger

type IdPRole added in v0.5.3

type IdPRole interface {
	GetName() string
	GetWantAuthnRequestsSigned() bool
	GetSignatureHash() string
	GetEncryptAssertionAlgorithm() string
	GetMessageTtl() int32
	GetMessageTtlTolerance() int32
}

type ProviderLogger

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

ProviderLogger wraps hclog.Logger

func (ProviderLogger) Debug

func (l ProviderLogger) Debug(msg string)

func (ProviderLogger) Debugf

func (l ProviderLogger) Debugf(format string, v ...interface{})

func (ProviderLogger) Error

func (l ProviderLogger) Error(msg string)

func (ProviderLogger) Errorf

func (l ProviderLogger) Errorf(format string, v ...interface{})

func (ProviderLogger) Info

func (l ProviderLogger) Info(msg string)

func (ProviderLogger) Infof

func (l ProviderLogger) Infof(format string, v ...interface{})

func (ProviderLogger) Logger

func (l ProviderLogger) Logger() interface{}

func (ProviderLogger) Trace

func (l ProviderLogger) Trace(msg string)

func (ProviderLogger) Tracef

func (l ProviderLogger) Tracef(format string, v ...interface{})

func (ProviderLogger) Warn

func (l ProviderLogger) Warn(msg string)

func (ProviderLogger) Warnf

func (l ProviderLogger) Warnf(format string, v ...interface{})

type RPRole added in v0.5.3

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

func (RPRole) GetAccountLinkagePolicy added in v0.5.3

func (r RPRole) GetAccountLinkagePolicy() api.AccountLinkagePolicyDTO

func (RPRole) GetIdentityMappingPolicy added in v0.5.3

func (r RPRole) GetIdentityMappingPolicy() api.IdentityMappingPolicyDTO

func (RPRole) GetMessageTtl added in v0.5.3

func (r RPRole) GetMessageTtl() int32

func (RPRole) GetMessageTtlTolerance added in v0.5.3

func (r RPRole) GetMessageTtlTolerance() int32

func (RPRole) GetName added in v0.5.3

func (r RPRole) GetName() string

func (RPRole) GetSignAuthenticationRequests added in v0.5.3

func (r RPRole) GetSignAuthenticationRequests() bool

func (RPRole) GetSignatureHash added in v0.5.3

func (r RPRole) GetSignatureHash() string

func (RPRole) GetWantAssertionSigned added in v0.5.3

func (r RPRole) GetWantAssertionSigned() bool

type SPRole added in v0.5.3

type SPRole interface {
	GetName() string
	GetSignAuthenticationRequests() bool
	GetIdentityMappingPolicy() api.IdentityMappingPolicyDTO
	GetAccountLinkagePolicy() api.AccountLinkagePolicyDTO
	GetWantAssertionSigned() bool
	GetSignatureHash() string
	GetMessageTtl() int32
	GetMessageTtlTolerance() int32
}

type VPIdPRole added in v0.5.3

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

implement IdPRole interface

func (VPIdPRole) GetEncryptAssertionAlgorithm added in v0.5.3

func (r VPIdPRole) GetEncryptAssertionAlgorithm() string

func (VPIdPRole) GetMessageTtl added in v0.5.3

func (r VPIdPRole) GetMessageTtl() int32

func (VPIdPRole) GetMessageTtlTolerance added in v0.5.3

func (r VPIdPRole) GetMessageTtlTolerance() int32

func (VPIdPRole) GetName added in v0.5.3

func (r VPIdPRole) GetName() string

implement IdPRole interface for VPIdPRole struct

func (VPIdPRole) GetSignatureHash added in v0.5.3

func (r VPIdPRole) GetSignatureHash() string

func (VPIdPRole) GetWantAuthnRequestsSigned added in v0.5.3

func (r VPIdPRole) GetWantAuthnRequestsSigned() bool

type VPSPRole added in v0.5.3

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

func (VPSPRole) GetAccountLinkagePolicy added in v0.5.3

func (r VPSPRole) GetAccountLinkagePolicy() api.AccountLinkagePolicyDTO

func (VPSPRole) GetIdentityMappingPolicy added in v0.5.3

func (r VPSPRole) GetIdentityMappingPolicy() api.IdentityMappingPolicyDTO

func (VPSPRole) GetMessageTtl added in v0.5.3

func (r VPSPRole) GetMessageTtl() int32

func (VPSPRole) GetMessageTtlTolerance added in v0.5.3

func (r VPSPRole) GetMessageTtlTolerance() int32

func (VPSPRole) GetName added in v0.5.3

func (r VPSPRole) GetName() string

func (VPSPRole) GetSignAuthenticationRequests added in v0.5.3

func (r VPSPRole) GetSignAuthenticationRequests() bool

func (VPSPRole) GetSignatureHash added in v0.5.3

func (r VPSPRole) GetSignatureHash() string

func (VPSPRole) GetWantAssertionSigned added in v0.5.3

func (r VPSPRole) GetWantAssertionSigned() bool

Jump to

Keyboard shortcuts

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