Documentation
¶
Overview ¶
Package service defines an interface used to provide access to objects in the service layer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterService ¶
type ClusterService interface { InitializeClusterWatcher() (func() error, error) CreateOrSaveClusterFromConfig(ctx context.Context) error CreateOrSaveCluster(ctx context.Context, clustr *repository.Cluster) error Load(ctx context.Context, clusterID uuid.UUID) (*repository.Cluster, error) LoadForAuth(ctx context.Context, clusterID uuid.UUID) (*repository.Cluster, error) FindByURL(ctx context.Context, clusterURL string) (*repository.Cluster, error) FindByURLForAuth(ctx context.Context, clusterURL string) (*repository.Cluster, error) List(ctx context.Context, clusterType *string) ([]repository.Cluster, error) ListForAuth(ctx context.Context, clusterType *string) ([]repository.Cluster, error) Delete(ctx context.Context, clusterID uuid.UUID) error LinkIdentityToCluster(ctx context.Context, identityID uuid.UUID, clusterURL string, ignoreError bool) error RemoveIdentityToClusterLink(ctx context.Context, identityID uuid.UUID, clusterURL string) error }
ClusterService the interface for the cluster service
type Services ¶
type Services interface {
ClusterService() ClusterService
}
Services creates instances of service layer objects
Click to show internal directories.
Click to hide internal directories.