zrokEdgeSdk

package
v0.4.39 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client added in v0.4.0

func CreateConfig

func CreateConfig(cfgTypeZId, envZId, shrToken string, options *FrontendOptions, edge *rest_management_api_client.ZitiEdgeManagement) (cfgZId string, err error)

func CreateEdgeRouterPolicy

func CreateEdgeRouterPolicy(name, zId string, edge *rest_management_api_client.ZitiEdgeManagement) error

func CreateEnvironmentIdentity

func CreateEnvironmentIdentity(uniqueToken, accountEmail, envDescription string, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.CreateIdentityCreated, error)

func CreateIdentity

func CreateIdentity(name string, identityType rest_model_edge.IdentityType, addlTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.CreateIdentityCreated, error)

func CreateService

func CreateService(name string, cfgZIds []string, addlTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) (shrZId string, err error)

func CreateServiceEdgeRouterPolicy

func CreateServiceEdgeRouterPolicy(name, shrZId string, moreTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) (string, error)

func CreateServicePolicyBind

func CreateServicePolicyBind(name, shrZId, bindZId string, addlTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) error

func CreateServicePolicyDial

func CreateServicePolicyDial(name, shrZId string, dialZIds []string, addlTags map[string]interface{}, edge *rest_management_api_client.ZitiEdgeManagement) error

func CreateShareService

func CreateShareService(envZId, shrToken, cfgZId string, edge *rest_management_api_client.ZitiEdgeManagement) (shrZId string, err error)

func CreateShareServiceEdgeRouterPolicy

func CreateShareServiceEdgeRouterPolicy(envZId, shrToken, shrZId string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteConfig

func DeleteConfig(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteEdgeRouterPolicy

func DeleteEdgeRouterPolicy(envZId string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteService

func DeleteService(envZId, shrZId string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServiceEdgeRouterPolicy

func DeleteServiceEdgeRouterPolicy(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServicePolicies added in v0.4.0

func DeleteServicePolicies(envZId, filter string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServicePoliciesBind added in v0.4.0

func DeleteServicePoliciesBind(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func DeleteServicePoliciesDial added in v0.4.0

func DeleteServicePoliciesDial(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error

func FindShareService added in v0.4.0

func FindShareService(svcZId string, edge *rest_management_api_client.ZitiEdgeManagement) (string, error)

func MergeTags

func MergeTags(tags *rest_model.Tags, addl map[string]interface{}) *rest_model.Tags

func ZrokShareTags

func ZrokShareTags(shrToken string) *rest_model.Tags

func ZrokTags

func ZrokTags() *rest_model.Tags

Types

type Config added in v0.4.0

type Config struct {
	ApiEndpoint string
	Username    string
	Password    string `cf:"+secret"`
}

type FrontendOptions added in v0.4.7

type FrontendOptions struct {
	Interstitial   bool
	AuthScheme     sdk.AuthScheme
	BasicAuthUsers []*sdk.AuthUserConfig
	Oauth          *sdk.OauthConfig
}

Jump to

Keyboard shortcuts

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