mock

package
v1.1.70 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccessRequest

type MockAccessRequest struct {
	provisioning.AccessRequest
	ID                            string
	AppDetails                    map[string]string
	AppName                       string
	Details                       map[string]string
	InstanceDetails               map[string]interface{}
	AccessRequestData             map[string]interface{}
	AccessRequestProvisioningData interface{}
	QuotaLimit                    int64
	QuotaInterval                 provisioning.QuotaInterval
	PlanName                      string
}

func (MockAccessRequest) GetAccessRequestData

func (m MockAccessRequest) GetAccessRequestData() map[string]interface{}

func (MockAccessRequest) GetAccessRequestDetailsValue

func (m MockAccessRequest) GetAccessRequestDetailsValue(key string) string

func (MockAccessRequest) GetAccessRequestProvisioningData

func (m MockAccessRequest) GetAccessRequestProvisioningData() interface{}

func (MockAccessRequest) GetApplicationDetailsValue

func (m MockAccessRequest) GetApplicationDetailsValue(key string) string

func (MockAccessRequest) GetApplicationName

func (m MockAccessRequest) GetApplicationName() string

func (MockAccessRequest) GetID

func (m MockAccessRequest) GetID() string

func (MockAccessRequest) GetInstanceDetails

func (m MockAccessRequest) GetInstanceDetails() map[string]interface{}

func (MockAccessRequest) GetInterval

func (MockAccessRequest) GetIntervalString

func (m MockAccessRequest) GetIntervalString() string

func (MockAccessRequest) GetLimit

func (m MockAccessRequest) GetLimit() int64

func (MockAccessRequest) GetPlanName added in v1.1.35

func (m MockAccessRequest) GetPlanName() string

func (MockAccessRequest) GetQuota

func (m MockAccessRequest) GetQuota() provisioning.Quota

type MockApplicationRequest

type MockApplicationRequest struct {
	provisioning.ApplicationRequest
	ID            string
	AppName       string
	Details       map[string]string
	TeamName      string
	ConsumerOrgID string
}

func (MockApplicationRequest) GetApplicationDetailsValue

func (m MockApplicationRequest) GetApplicationDetailsValue(key string) string

func (MockApplicationRequest) GetConsumerOrgID added in v1.1.61

func (m MockApplicationRequest) GetConsumerOrgID() string

func (MockApplicationRequest) GetID

func (m MockApplicationRequest) GetID() string

func (MockApplicationRequest) GetManagedApplicationName

func (m MockApplicationRequest) GetManagedApplicationName() string

func (MockApplicationRequest) GetTeamName

func (m MockApplicationRequest) GetTeamName() string

type MockCredentialRequest

type MockCredentialRequest struct {
	provisioning.CredentialRequest
	ID            string
	AppDetails    map[string]string
	AppName       string
	Name          string
	CredDefName   string
	Details       map[string]string
	CredData      map[string]interface{}
	Action        provisioning.CredentialAction
	IDPCredData   provisioning.IDPCredentialData
	CRDSchema     map[string]interface{}
	CRDProvSchema map[string]interface{}
	CRDDetails    map[string]interface{}
}

func (MockCredentialRequest) GetApplicationDetailsValue

func (m MockCredentialRequest) GetApplicationDetailsValue(key string) string

func (MockCredentialRequest) GetApplicationName

func (m MockCredentialRequest) GetApplicationName() string

func (MockCredentialRequest) GetCredentialAction added in v1.1.35

func (m MockCredentialRequest) GetCredentialAction() provisioning.CredentialAction

func (MockCredentialRequest) GetCredentialData

func (m MockCredentialRequest) GetCredentialData() map[string]interface{}

func (MockCredentialRequest) GetCredentialDetailsValue

func (m MockCredentialRequest) GetCredentialDetailsValue(key string) string

func (MockCredentialRequest) GetCredentialProvisionSchema added in v1.1.35

func (m MockCredentialRequest) GetCredentialProvisionSchema() map[string]interface{}

func (MockCredentialRequest) GetCredentialSchema added in v1.1.35

func (m MockCredentialRequest) GetCredentialSchema() map[string]interface{}

func (MockCredentialRequest) GetCredentialSchemaDetailsValue added in v1.1.35

func (m MockCredentialRequest) GetCredentialSchemaDetailsValue(key string) interface{}

func (MockCredentialRequest) GetCredentialType

func (m MockCredentialRequest) GetCredentialType() string

func (MockCredentialRequest) GetID

func (m MockCredentialRequest) GetID() string

func (MockCredentialRequest) GetIDPCredentialData added in v1.1.35

func (m MockCredentialRequest) GetIDPCredentialData() provisioning.IDPCredentialData

func (MockCredentialRequest) GetName added in v1.1.33

func (m MockCredentialRequest) GetName() string

func (MockCredentialRequest) IsIDPCredential

func (m MockCredentialRequest) IsIDPCredential() bool

type MockIDPCredentialData added in v1.1.35

type MockIDPCredentialData struct {
	provisioning.IDPCredentialData
	ClientID                string
	ClientSecret            string
	Scopes                  []string
	GrantTypes              []string
	TokenEndpointAuthMethod string
	ResponseTypes           []string
	RedirectUris            []string
	JwksURI                 string
	PublicKey               string
}

func (MockIDPCredentialData) GetClientID added in v1.1.35

func (m MockIDPCredentialData) GetClientID() string

func (MockIDPCredentialData) GetClientSecret added in v1.1.35

func (m MockIDPCredentialData) GetClientSecret() string

func (MockIDPCredentialData) GetGrantTypes added in v1.1.35

func (m MockIDPCredentialData) GetGrantTypes() []string

func (MockIDPCredentialData) GetJwksURI added in v1.1.35

func (m MockIDPCredentialData) GetJwksURI() string

func (MockIDPCredentialData) GetPublicKey added in v1.1.35

func (m MockIDPCredentialData) GetPublicKey() string

func (MockIDPCredentialData) GetRedirectURIs added in v1.1.35

func (m MockIDPCredentialData) GetRedirectURIs() []string

func (MockIDPCredentialData) GetResponseTypes added in v1.1.35

func (m MockIDPCredentialData) GetResponseTypes() []string

func (MockIDPCredentialData) GetScopes added in v1.1.35

func (m MockIDPCredentialData) GetScopes() []string

func (MockIDPCredentialData) GetTokenEndpointAuthMethod added in v1.1.35

func (m MockIDPCredentialData) GetTokenEndpointAuthMethod() string

type MockRequestStatus

type MockRequestStatus struct {
	Msg        string
	Properties map[string]string
	Status     provisioning.Status
	Reasons    []v1.ResourceStatusReason
}

func (MockRequestStatus) GetMessage

func (m MockRequestStatus) GetMessage() string

func (MockRequestStatus) GetProperties

func (m MockRequestStatus) GetProperties() map[string]string

func (MockRequestStatus) GetReasons

func (m MockRequestStatus) GetReasons() []v1.ResourceStatusReason

GetStatus returns the Status level

func (MockRequestStatus) GetStatus

func (m MockRequestStatus) GetStatus() provisioning.Status

Jump to

Keyboard shortcuts

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