Documentation ¶
Index ¶
- type Client
- type Integration
- type IntegrationBuilder
- func (i *IntegrationBuilder) EnableAdmissionController() *IntegrationBuilder
- func (i *IntegrationBuilder) EnableContainerImagesScan() *IntegrationBuilder
- func (i *IntegrationBuilder) EnableNodesScan() *IntegrationBuilder
- func (i *IntegrationBuilder) EnableWorkloadsScan() *IntegrationBuilder
- func (b *IntegrationBuilder) Run(ctx context.Context) (*Integration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(spaceMrn string, integrations integrations.IntegrationsManager, assetStore policy.AssetStore) *Client
func (*Client) CreateIntegration ¶
func (k *Client) CreateIntegration(name string) *IntegrationBuilder
type Integration ¶
type Integration struct {
// contains filtered or unexported fields
}
func (*Integration) GetRegistrationToken ¶
func (i *Integration) GetRegistrationToken(ctx context.Context) (string, error)
func (*Integration) Mrn ¶
func (i *Integration) Mrn() string
type IntegrationBuilder ¶
type IntegrationBuilder struct {
// contains filtered or unexported fields
}
func (*IntegrationBuilder) EnableAdmissionController ¶
func (i *IntegrationBuilder) EnableAdmissionController() *IntegrationBuilder
func (*IntegrationBuilder) EnableContainerImagesScan ¶
func (i *IntegrationBuilder) EnableContainerImagesScan() *IntegrationBuilder
func (*IntegrationBuilder) EnableNodesScan ¶
func (i *IntegrationBuilder) EnableNodesScan() *IntegrationBuilder
func (*IntegrationBuilder) EnableWorkloadsScan ¶
func (i *IntegrationBuilder) EnableWorkloadsScan() *IntegrationBuilder
func (*IntegrationBuilder) Run ¶
func (b *IntegrationBuilder) Run(ctx context.Context) (*Integration, error)
Click to show internal directories.
Click to hide internal directories.