Documentation ¶
Index ¶
- type Api
- func (a Api) Create(ctx context.Context, def *model.APIDefinitionSpec) (*model.Result, error)
- func (a Api) Delete(ctx context.Context, id string) (*model.Result, error)
- func (a Api) Get(ctx context.Context, apiID string) (*model.APIDefinitionSpec, error)
- func (a Api) List(ctx context.Context, options ...model.ListAPIOptions) (*model.APIDefinitionSpecList, error)
- func (a Api) Update(ctx context.Context, def *model.APIDefinitionSpec) (*model.Result, error)
- type Catalogue
- type Client
- type Documentation
- type Portal
- type ResponseMsg
- type SecurityPolicy
- func (a SecurityPolicy) All(ctx context.Context) ([]v1.SecurityPolicySpec, error)
- func (a SecurityPolicy) Create(ctx context.Context, def *v1.SecurityPolicySpec) error
- func (a SecurityPolicy) Delete(ctx context.Context, namespacedName string) error
- func (a SecurityPolicy) Get(ctx context.Context, namespacedName string) (*v1.SecurityPolicySpec, error)
- func (a SecurityPolicy) Update(ctx context.Context, def *v1.SecurityPolicySpec) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct{}
func (Api) List ¶
func (a Api) List(ctx context.Context, options ...model.ListAPIOptions) (*model.APIDefinitionSpecList, error)
type Client ¶
type Client struct{}
func (Client) Certificate ¶
func (c Client) Certificate() universal.Certificate
TODO: Certificate Requires implementation
type Documentation ¶
type Documentation struct{}
func (Documentation) Upload ¶
func (Documentation) Upload( ctx context.Context, o *model.APIDocumentation, ) (*model.Result, error)
type Portal ¶
type Portal struct{}
func (Portal) Documentation ¶
func (Portal) Documentation() universal.Documentation
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.ErrTODO on all methods.
func (SecurityPolicy) All ¶
func (a SecurityPolicy) All(ctx context.Context) ([]v1.SecurityPolicySpec, error)
func (SecurityPolicy) Create ¶
func (a SecurityPolicy) Create(ctx context.Context, def *v1.SecurityPolicySpec) error
func (SecurityPolicy) Delete ¶
func (a SecurityPolicy) Delete(ctx context.Context, namespacedName string) error
func (SecurityPolicy) Get ¶
func (a SecurityPolicy) Get(ctx context.Context, namespacedName string) (*v1.SecurityPolicySpec, error)
func (SecurityPolicy) Update ¶
func (a SecurityPolicy) Update(ctx context.Context, def *v1.SecurityPolicySpec) error
Click to show internal directories.
Click to hide internal directories.