Documentation ¶
Index ¶
- type Api
- type Client
- func (c *Client) Api() universal_client.UniversalApi
- func (c *Client) Certificate() universal_client.UniversalCertificate
- func (c *Client) HotReload() error
- func (c *Client) Organization() universal_client.UniversalOrganization
- func (c *Client) SecurityPolicy() universal_client.UniversalSecurityPolicy
- func (c *Client) Webhook() universal_client.UniversalWebhook
- type ResponseMsg
- type SecurityPolicy
- func (a SecurityPolicy) All() ([]v1.SecurityPolicySpec, error)
- func (a SecurityPolicy) Create(def *v1.SecurityPolicySpec) error
- func (a SecurityPolicy) Delete(namespacedName string) error
- func (a SecurityPolicy) Get(namespacedName string) (*v1.SecurityPolicySpec, error)
- func (a SecurityPolicy) Update(def *v1.SecurityPolicySpec) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
universal_client.Client
}
func (*Client) Api ¶
func (c *Client) Api() universal_client.UniversalApi
func (*Client) Certificate ¶
func (c *Client) Certificate() universal_client.UniversalCertificate
TODO: Certificate Requires implementation
func (*Client) Organization ¶
func (c *Client) Organization() universal_client.UniversalOrganization
TODO: Organization requires implementation
func (*Client) SecurityPolicy ¶
func (c *Client) SecurityPolicy() universal_client.UniversalSecurityPolicy
func (*Client) Webhook ¶
func (c *Client) Webhook() universal_client.UniversalWebhook
TODO: Webhook Requires implementation
type ResponseMsg ¶
type SecurityPolicy ¶
type SecurityPolicy struct { }
SecurityPolicy provides api for accessing policies on the tyk gateway NOTE: The gateway doesn't provide api for security policy so this is just a placeholder and does nothing except returning universal_client.ErrTODO on all methods.
func (SecurityPolicy) All ¶
func (a SecurityPolicy) All() ([]v1.SecurityPolicySpec, error)
func (SecurityPolicy) Create ¶
func (a SecurityPolicy) Create(def *v1.SecurityPolicySpec) error
func (SecurityPolicy) Delete ¶
func (a SecurityPolicy) Delete(namespacedName string) error
func (SecurityPolicy) Get ¶
func (a SecurityPolicy) Get(namespacedName string) (*v1.SecurityPolicySpec, error)
func (SecurityPolicy) Update ¶
func (a SecurityPolicy) Update(def *v1.SecurityPolicySpec) error
Click to show internal directories.
Click to hide internal directories.