Documentation
¶
Index ¶
- func Client(cfg *Config) (*rest_management_api_client.ZitiEdgeManagement, error)
- func CreateConfig(cfgTypeZId, envZId, shrToken string, options *FrontendOptions, ...) (cfgZId string, err error)
- func CreateEdgeRouterPolicy(name, zId string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func CreateEnvironmentIdentity(uniqueToken, accountEmail, envDescription string, ...) (*identity.CreateIdentityCreated, error)
- func CreateIdentity(name string, identityType rest_model_edge.IdentityType, ...) (*identity.CreateIdentityCreated, error)
- func CreateService(name string, cfgZIds []string, addlTags map[string]interface{}, ...) (shrZId string, err error)
- func CreateServiceEdgeRouterPolicy(name, shrZId string, moreTags map[string]interface{}, ...) (string, error)
- func CreateServicePolicyBind(name, shrZId, bindZId string, addlTags map[string]interface{}, ...) error
- func CreateServicePolicyDial(name, shrZId string, dialZIds []string, addlTags map[string]interface{}, ...) error
- func CreateShareService(envZId, shrToken, cfgZId string, ...) (shrZId string, err error)
- func CreateShareServiceEdgeRouterPolicy(envZId, shrToken, shrZId string, ...) error
- func DeleteConfig(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func DeleteEdgeRouterPolicy(envZId string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func DeleteIdentity(zId string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func DeleteService(envZId, shrZId string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func DeleteServiceEdgeRouterPolicy(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func DeleteServicePolicies(envZId, filter string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func DeleteServicePoliciesBind(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func DeleteServicePoliciesDial(envZId, shrToken string, edge *rest_management_api_client.ZitiEdgeManagement) error
- func EnrollIdentity(zId string, edge *rest_management_api_client.ZitiEdgeManagement) (*ziti.Config, error)
- func FindShareService(svcZId string, edge *rest_management_api_client.ZitiEdgeManagement) (string, error)
- func GetIdentityByZId(zId string, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.ListIdentitiesOK, error)
- func MergeTags(tags *rest_model.Tags, addl map[string]interface{}) *rest_model.Tags
- func ZrokShareTags(shrToken string) *rest_model.Tags
- func ZrokTags() *rest_model.Tags
- type Config
- type FrontendOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶ added in v0.4.0
func Client(cfg *Config) (*rest_management_api_client.ZitiEdgeManagement, error)
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 DeleteIdentity ¶
func DeleteIdentity(zId 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 EnrollIdentity ¶
func EnrollIdentity(zId string, edge *rest_management_api_client.ZitiEdgeManagement) (*ziti.Config, error)
func FindShareService ¶ added in v0.4.0
func FindShareService(svcZId string, edge *rest_management_api_client.ZitiEdgeManagement) (string, error)
func GetIdentityByZId ¶
func GetIdentityByZId(zId string, edge *rest_management_api_client.ZitiEdgeManagement) (*identity.ListIdentitiesOK, 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 FrontendOptions ¶ added in v0.4.7
type FrontendOptions struct { Interstitial bool AuthScheme sdk.AuthScheme BasicAuthUsers []*sdk.AuthUserConfig Oauth *sdk.OauthConfig }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.