customtypes

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENUM_EXPORT_SERVICE_PINGONE_PLATFORM  string = "pingone-platform"
	ENUM_EXPORT_SERVICE_PINGONE_AUTHORIZE string = "pingone-authorize"
	ENUM_EXPORT_SERVICE_PINGONE_SSO       string = "pingone-sso"
	ENUM_EXPORT_SERVICE_PINGONE_MFA       string = "pingone-mfa"
	ENUM_EXPORT_SERVICE_PINGONE_PROTECT   string = "pingone-protect"
	ENUM_EXPORT_SERVICE_PINGFEDERATE      string = "pingfederate"
)
View Source
const (
	ENUM_HTTP_METHOD_GET    string = "GET"
	ENUM_HTTP_METHOD_POST   string = "POST"
	ENUM_HTTP_METHOD_PUT    string = "PUT"
	ENUM_HTTP_METHOD_DELETE string = "DELETE"
	ENUM_HTTP_METHOD_PATCH  string = "PATCH"
)
View Source
const (
	ENUM_LICENSE_PRODUCT_PING_ACCESS                  string = "pingaccess"
	ENUM_LICENSE_PRODUCT_PING_AUTHORIZE               string = "pingauthorize"
	ENUM_LICENSE_PRODUCT_PING_AUTHORIZE_POLICY_EDITOR string = "pingauthorize-policy-editor"
	ENUM_LICENSE_PRODUCT_PING_CENTRAL                 string = "pingcentral"
	ENUM_LICENSE_PRODUCT_PING_DIRECTORY               string = "pingdirectory"
	ENUM_LICENSE_PRODUCT_PING_DIRECTORY_PROXY         string = "pingdirectoryproxy"
	ENUM_LICENSE_PRODUCT_PING_FEDERATE                string = "pingfederate"
)
View Source
const (
	ENUM_OUTPUT_FORMAT_TEXT string = "text"
	ENUM_OUTPUT_FORMAT_JSON string = "json"
)
View Source
const (
	ENUM_PINGFEDERATE_AUTHENTICATION_TYPE_BASIC              string = "basicAuth"
	ENUM_PINGFEDERATE_AUTHENTICATION_TYPE_ACCESS_TOKEN       string = "accessTokenAuth"
	ENUM_PINGFEDERATE_AUTHENTICATION_TYPE_CLIENT_CREDENTIALS string = "clientCredentialsAuth"
)
View Source
const (
	ENUM_PINGONE_REGION_CODE_AP string = "AP"
	ENUM_PINGONE_REGION_CODE_AU string = "AU"
	ENUM_PINGONE_REGION_CODE_CA string = "CA"
	ENUM_PINGONE_REGION_CODE_EU string = "EU"
	ENUM_PINGONE_REGION_CODE_NA string = "NA"

	ENUM_PINGONE_TLD_AP string = "asia"
	ENUM_PINGONE_TLD_AU string = "com.au"
	ENUM_PINGONE_TLD_CA string = "ca"
	ENUM_PINGONE_TLD_EU string = "eu"
	ENUM_PINGONE_TLD_NA string = "com"
)
View Source
const (
	ENUM_EXPORT_FORMAT_HCL string = "HCL"
)
View Source
const (
	ENUM_EXPORT_SERVICE_GROUP_PINGONE string = "pingone"
)
View Source
const (
	ENUM_PINGONE_AUTHENTICATION_TYPE_WORKER string = "worker"
)
View Source
const (
	ENUM_REQUEST_SERVICE_PINGONE string = "pingone"
)

Variables

This section is empty.

Functions

func ExportFormatValidValues

func ExportFormatValidValues() []string

func ExportServiceGroupValidValues added in v0.5.0

func ExportServiceGroupValidValues() []string

func ExportServicesPingOneValidValues added in v0.5.0

func ExportServicesPingOneValidValues() []string

func ExportServicesValidValues

func ExportServicesValidValues() []string

func HTTPMethodValidValues

func HTTPMethodValidValues() []string

func LicenseProductValidValues added in v0.7.0

func LicenseProductValidValues() []string

func OutputFormatValidValues

func OutputFormatValidValues() []string

func PingFederateAuthenticationTypeValidValues

func PingFederateAuthenticationTypeValidValues() []string

func PingOneAuthenticationTypeValidValues

func PingOneAuthenticationTypeValidValues() []string

func PingOneRegionCodeValidValues

func PingOneRegionCodeValidValues() []string

func RequestServiceValidValues

func RequestServiceValidValues() []string

Types

type Bool

type Bool bool

func (Bool) Bool

func (b Bool) Bool() bool

func (*Bool) Set

func (b *Bool) Set(val string) error

func (Bool) String

func (b Bool) String() string

func (Bool) Type

func (b Bool) Type() string

type ExportFormat

type ExportFormat string

func (*ExportFormat) Set

func (ef *ExportFormat) Set(format string) error

func (ExportFormat) String

func (ef ExportFormat) String() string

func (ExportFormat) Type

func (ef ExportFormat) Type() string

type ExportServiceGroup added in v0.5.0

type ExportServiceGroup string

func (*ExportServiceGroup) Set added in v0.5.0

func (esg *ExportServiceGroup) Set(serviceGroup string) error

func (ExportServiceGroup) String added in v0.5.0

func (esg ExportServiceGroup) String() string

func (ExportServiceGroup) Type added in v0.5.0

func (esg ExportServiceGroup) Type() string

type ExportServices

type ExportServices []string

func (ExportServices) ContainsPingFederateService

func (es ExportServices) ContainsPingFederateService() bool

func (ExportServices) ContainsPingOneService

func (es ExportServices) ContainsPingOneService() bool

func (ExportServices) GetServices

func (es ExportServices) GetServices() []string

Implement pflag.Value interface for custom type in cobra MultiService parameter

func (*ExportServices) Merge added in v0.5.0

func (es *ExportServices) Merge(es2 ExportServices) error

func (*ExportServices) Set

func (es *ExportServices) Set(services string) error

func (*ExportServices) SetServicesByServiceGroup added in v0.5.0

func (es *ExportServices) SetServicesByServiceGroup(serviceGroup *ExportServiceGroup) error

func (ExportServices) String

func (es ExportServices) String() string

func (ExportServices) Type

func (es ExportServices) Type() string

type HTTPMethod

type HTTPMethod string

func (*HTTPMethod) Set

func (hm *HTTPMethod) Set(httpMethod string) error

func (HTTPMethod) String

func (hm HTTPMethod) String() string

func (HTTPMethod) Type

func (hm HTTPMethod) Type() string
type Header struct {
	Key   string
	Value string
}

func NewHeader added in v0.5.0

func NewHeader(header string) (Header, error)

type HeaderSlice added in v0.5.0

type HeaderSlice []Header

func (*HeaderSlice) Set added in v0.5.0

func (h *HeaderSlice) Set(val string) error

func (HeaderSlice) SetHttpRequestHeaders added in v0.5.0

func (h HeaderSlice) SetHttpRequestHeaders(request *http.Request)

func (HeaderSlice) String added in v0.5.0

func (h HeaderSlice) String() string

func (HeaderSlice) StringSlice added in v0.5.0

func (h HeaderSlice) StringSlice() []string

func (HeaderSlice) Type added in v0.5.0

func (h HeaderSlice) Type() string

type Int

type Int int64

func (Int) Int64

func (i Int) Int64() int64

func (*Int) Set

func (i *Int) Set(val string) error

func (Int) String

func (i Int) String() string

func (Int) Type

func (i Int) Type() string

type LicenseProduct added in v0.7.0

type LicenseProduct string

func (*LicenseProduct) Set added in v0.7.0

func (lp *LicenseProduct) Set(product string) error

Implement pflag.Value interface for custom type in cobra MultiService parameter

func (LicenseProduct) String added in v0.7.0

func (lp LicenseProduct) String() string

func (LicenseProduct) Type added in v0.7.0

func (lp LicenseProduct) Type() string

type LicenseVersion added in v0.7.0

type LicenseVersion string

func (*LicenseVersion) Set added in v0.7.0

func (lp *LicenseVersion) Set(version string) error

Implement pflag.Value interface for custom type in cobra MultiService parameter

func (LicenseVersion) String added in v0.7.0

func (lp LicenseVersion) String() string

func (LicenseVersion) Type added in v0.7.0

func (lp LicenseVersion) Type() string

type OutputFormat

type OutputFormat string

func (*OutputFormat) Set

func (o *OutputFormat) Set(outputFormat string) error

func (OutputFormat) String

func (o OutputFormat) String() string

func (OutputFormat) Type

func (o OutputFormat) Type() string

type PingFederateAuthenticationType

type PingFederateAuthenticationType string

func (*PingFederateAuthenticationType) Set

func (pat *PingFederateAuthenticationType) Set(authType string) error

Implement pflag.Value interface for custom type in cobra MultiService parameter

func (PingFederateAuthenticationType) String

func (PingFederateAuthenticationType) Type

type PingOneAuthenticationType

type PingOneAuthenticationType string

func (*PingOneAuthenticationType) Set

func (pat *PingOneAuthenticationType) Set(authType string) error

Implement pflag.Value interface for custom type in cobra MultiService parameter

func (PingOneAuthenticationType) String

func (pat PingOneAuthenticationType) String() string

func (PingOneAuthenticationType) Type

func (pat PingOneAuthenticationType) Type() string

type PingOneRegionCode

type PingOneRegionCode string

func (*PingOneRegionCode) Set

func (prc *PingOneRegionCode) Set(regionCode string) error

func (PingOneRegionCode) String

func (prc PingOneRegionCode) String() string

func (PingOneRegionCode) Type

func (prc PingOneRegionCode) Type() string

type RequestService

type RequestService string

func (*RequestService) Set

func (rs *RequestService) Set(service string) error

Implement pflag.Value interface for custom type in cobra MultiService parameter

func (RequestService) String

func (rs RequestService) String() string

func (RequestService) Type

func (rs RequestService) Type() string

type String

type String string

func (*String) Set

func (s *String) Set(val string) error

func (String) String

func (s String) String() string

func (String) Type

func (s String) Type() string

type StringSlice

type StringSlice []string

func (*StringSlice) Remove added in v0.7.0

func (ss *StringSlice) Remove(val string) (bool, error)

func (*StringSlice) Set

func (ss *StringSlice) Set(val string) error

func (StringSlice) String

func (ss StringSlice) String() string

func (StringSlice) StringSlice

func (ss StringSlice) StringSlice() []string

func (StringSlice) Type

func (ss StringSlice) Type() string

type UUID

type UUID string

func (*UUID) Set

func (u *UUID) Set(val string) error

func (*UUID) String

func (u *UUID) String() string

func (*UUID) Type

func (u *UUID) Type() string

Jump to

Keyboard shortcuts

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