Documentation ¶
Index ¶
- Variables
- type Api
- func (Api) Create(ctx context.Context, def *model.APIDefinitionSpec) (*model.Result, error)
- func (Api) Delete(ctx context.Context, id string) (*model.Result, error)
- func (Api) Get(ctx context.Context, id string) (*model.APIDefinitionSpec, error)
- func (Api) List(ctx context.Context, options ...model.ListAPIOptions) (*model.APIDefinitionSpecList, error)
- func (Api) Update(ctx context.Context, spec *model.APIDefinitionSpec) (*model.Result, error)
- type Catalogue
- type Certificate
- type Client
- type Configuration
- type Documentation
- type Policy
- func (Policy) All(ctx context.Context) ([]v1alpha1.SecurityPolicySpec, error)
- func (Policy) Create(ctx context.Context, def *v1alpha1.SecurityPolicySpec) error
- func (Policy) Delete(ctx context.Context, id string) error
- func (Policy) Get(ctx context.Context, id string) (*v1alpha1.SecurityPolicySpec, error)
- func (Policy) Update(ctx context.Context, def *v1alpha1.SecurityPolicySpec) error
- type Portal
Constants ¶
This section is empty.
Variables ¶
View Source
var Universal = Client{}
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct{}
func (Api) List ¶
func (Api) List(ctx context.Context, options ...model.ListAPIOptions) (*model.APIDefinitionSpecList, error)
type Certificate ¶
type Certificate struct{}
type Client ¶
type Client struct{}
Implements universal.Client but picks the correct client dynamically based on context.Context
func (Client) Certificate ¶
func (Client) Certificate() universal.Certificate
type Configuration ¶
type Configuration struct{}
func (Configuration) Create ¶
func (Configuration) Create( ctx context.Context, o *model.PortalModelPortalConfig, ) (*model.Result, error)
func (Configuration) Get ¶
func (Configuration) Get(ctx context.Context) (*model.PortalModelPortalConfig, error)
func (Configuration) Update ¶
func (Configuration) Update( ctx context.Context, o *model.PortalModelPortalConfig, ) (*model.Result, error)
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) Configuration ¶
func (Portal) Configuration() universal.Configuration
func (Portal) Documentation ¶
func (Portal) Documentation() universal.Documentation
Click to show internal directories.
Click to hide internal directories.