services

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2022 License: UPL-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceMeshClient

type ServiceMeshClient interface {
	GetMesh(ctx context.Context, meshId *api.OCID) (*sdk.Mesh, error)
	CreateMesh(ctx context.Context, mesh *sdk.Mesh, opcRetryToken *string) (*sdk.Mesh, error)
	UpdateMesh(ctx context.Context, mesh *sdk.Mesh) error
	DeleteMesh(ctx context.Context, meshId *api.OCID) error
	ChangeMeshCompartment(ctx context.Context, meshId *api.OCID, compartmentId *api.OCID) error
	GetVirtualService(ctx context.Context, virtualServiceId *api.OCID) (*sdk.VirtualService, error)
	CreateVirtualService(ctx context.Context, virtualService *sdk.VirtualService, opcRetryToken *string) (*sdk.VirtualService, error)
	UpdateVirtualService(ctx context.Context, virtualService *sdk.VirtualService) error
	DeleteVirtualService(ctx context.Context, virtualServiceId *api.OCID) error
	ChangeVirtualServiceCompartment(ctx context.Context, virtualServiceId *api.OCID, compartmentId *api.OCID) error
	GetVirtualDeployment(ctx context.Context, virtualDeploymentId *api.OCID) (*sdk.VirtualDeployment, error)
	CreateVirtualDeployment(ctx context.Context, vd *sdk.VirtualDeployment, opcRetryToken *string) (*sdk.VirtualDeployment, error)
	UpdateVirtualDeployment(ctx context.Context, vd *sdk.VirtualDeployment) error
	DeleteVirtualDeployment(ctx context.Context, vd *api.OCID) error
	ChangeVirtualDeploymentCompartment(ctx context.Context, vd *api.OCID, compartmentId *api.OCID) error
	GetVirtualServiceRouteTable(ctx context.Context, vsrtId *api.OCID) (*sdk.VirtualServiceRouteTable, error)
	CreateVirtualServiceRouteTable(ctx context.Context, vsrt *sdk.VirtualServiceRouteTable, opcRetryToken *string) (*sdk.VirtualServiceRouteTable, error)
	UpdateVirtualServiceRouteTable(ctx context.Context, vsrt *sdk.VirtualServiceRouteTable) error
	DeleteVirtualServiceRouteTable(ctx context.Context, vsrtId *api.OCID) error
	ChangeVirtualServiceRouteTableCompartment(ctx context.Context, vsrtId *api.OCID, compartmentId *api.OCID) error
	GetAccessPolicy(ctx context.Context, accessPolicyId *api.OCID) (*sdk.AccessPolicy, error)
	CreateAccessPolicy(ctx context.Context, accessPolicy *sdk.AccessPolicy, opcRetryToken *string) (*sdk.AccessPolicy, error)
	UpdateAccessPolicy(ctx context.Context, accessPolicy *sdk.AccessPolicy) error
	DeleteAccessPolicy(ctx context.Context, accessPolicyId *api.OCID) error
	ChangeAccessPolicyCompartment(ctx context.Context, accessPolicyId *api.OCID, compartmentId *api.OCID) error
	GetIngressGateway(ctx context.Context, ingressGatewayId *api.OCID) (*sdk.IngressGateway, error)
	CreateIngressGateway(ctx context.Context, ingressGateway *sdk.IngressGateway, opcRetryToken *string) (*sdk.IngressGateway, error)
	UpdateIngressGateway(ctx context.Context, ingressGateway *sdk.IngressGateway) error
	DeleteIngressGateway(ctx context.Context, ingressGatewayId *api.OCID) error
	ChangeIngressGatewayCompartment(ctx context.Context, ingressGatewayId *api.OCID, compartmentId *api.OCID) error
	GetIngressGatewayRouteTable(ctx context.Context, igrtId *api.OCID) (*sdk.IngressGatewayRouteTable, error)
	CreateIngressGatewayRouteTable(ctx context.Context, igrt *sdk.IngressGatewayRouteTable, opcRetryToken *string) (*sdk.IngressGatewayRouteTable, error)
	UpdateIngressGatewayRouteTable(ctx context.Context, igrt *sdk.IngressGatewayRouteTable) error
	DeleteIngressGatewayRouteTable(ctx context.Context, igrtId *api.OCID) error
	ChangeIngressGatewayRouteTableCompartment(ctx context.Context, igrtId *api.OCID, compartmentId *api.OCID) error
	GetProxyDetails(ctx context.Context) (*string, error)
	SetClientHost(cpEndpoint string)
}

ServiceMeshClient provides simple CRUD APIs and process requests to controlplane for all kinds of resources.

func NewServiceMeshClient

func NewServiceMeshClient(provider common.ConfigurationProvider, log loggerutil.OSOKLogger, operatorConditionName string) (ServiceMeshClient, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL