Documentation
¶
Index ¶
- type CaCertClient
- func (c *CaCertClient) CreateCert(ctx context.Context, cert module.CaCert, project string, failIfExists bool) (module.CaCert, bool, error)
- func (c *CaCertClient) DeleteCert(ctx context.Context, cert, project string) error
- func (c *CaCertClient) GetAllCert(ctx context.Context, project string) ([]module.CaCert, error)
- func (c *CaCertClient) GetCert(ctx context.Context, cert, project string) (module.CaCert, error)
- type CaCertDistributionClient
- func (c *CaCertDistributionClient) Instantiate(ctx context.Context, cert, project string) error
- func (c *CaCertDistributionClient) Status(ctx context.Context, cert, project, qInstance, qType, qOutput string, ...) (module.CaCertStatus, error)
- func (c *CaCertDistributionClient) Terminate(ctx context.Context, cert, project string) error
- func (c *CaCertDistributionClient) Update(ctx context.Context, cert, project string) error
- type CaCertDistributionManager
- type CaCertEnrollmentClient
- func (c *CaCertEnrollmentClient) Instantiate(ctx context.Context, cert, project string) error
- func (c *CaCertEnrollmentClient) Status(ctx context.Context, cert, project, qInstance, qType, qOutput string, ...) (module.CaCertStatus, error)
- func (c *CaCertEnrollmentClient) Terminate(ctx context.Context, cert, project string) error
- func (c *CaCertEnrollmentClient) Update(ctx context.Context, cert, project string) error
- type CaCertEnrollmentManager
- type CaCertKey
- type CaCertLogicalCloud
- type CaCertLogicalCloudClient
- func (c *CaCertLogicalCloudClient) CreateLogicalCloud(ctx context.Context, logicalCloud CaCertLogicalCloud, cert, project string, ...) (CaCertLogicalCloud, bool, error)
- func (c *CaCertLogicalCloudClient) DeleteLogicalCloud(ctx context.Context, logicalCloud, cert, project string) error
- func (c *CaCertLogicalCloudClient) GetAllLogicalClouds(ctx context.Context, cert, project string) ([]CaCertLogicalCloud, error)
- func (c *CaCertLogicalCloudClient) GetLogicalCloud(ctx context.Context, logicalCloud, cert, project string) (CaCertLogicalCloud, error)
- type CaCertLogicalCloudKey
- type CaCertLogicalCloudManager
- type CaCertLogicalCloudSpec
- type CaCertManager
- type ClusterGroupClient
- func (c *ClusterGroupClient) CreateClusterGroup(ctx context.Context, group module.ClusterGroup, ...) (module.ClusterGroup, bool, error)
- func (c *ClusterGroupClient) DeleteClusterGroup(ctx context.Context, clusterGroup, caCertLogicalCloud, cert, project string) error
- func (c *ClusterGroupClient) GetAllClusterGroups(ctx context.Context, caCertLogicalCloud, cert, project string) ([]module.ClusterGroup, error)
- func (c *ClusterGroupClient) GetClusterGroup(ctx context.Context, clusterGroup, caCertLogicalCloud, cert, project string) (module.ClusterGroup, error)
- type ClusterGroupKey
- type ClusterGroupManager
- type DistributionKey
- type EnrollmentKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaCertClient ¶
type CaCertClient struct { }
CaCertClient holds the client properties
func NewCaCertClient ¶
func NewCaCertClient() *CaCertClient
NewCaCertClient returns an instance of the CaCertClient which implements the Manager
func (*CaCertClient) CreateCert ¶
func (c *CaCertClient) CreateCert(ctx context.Context, cert module.CaCert, project string, failIfExists bool) (module.CaCert, bool, error)
CreateCert creates a caCert
func (*CaCertClient) DeleteCert ¶
func (c *CaCertClient) DeleteCert(ctx context.Context, cert, project string) error
DeleteCert deletes a given logicalCloud caCert
func (*CaCertClient) GetAllCert ¶
GetAllCert returns all the logicalCloud caCert
type CaCertDistributionClient ¶
type CaCertDistributionClient struct { }
CaCertDistributionClient holds the client properties
func NewCaCertDistributionClient ¶
func NewCaCertDistributionClient() *CaCertDistributionClient
NewCaCertDistributionClient returns an instance of the CaCertDistributionClient which implements the Manager
func (*CaCertDistributionClient) Instantiate ¶
func (c *CaCertDistributionClient) Instantiate(ctx context.Context, cert, project string) error
Instantiate the logicalCloud caCert distribution
func (*CaCertDistributionClient) Status ¶
func (c *CaCertDistributionClient) Status(ctx context.Context, cert, project, qInstance, qType, qOutput string, fApps, fClusters, fResources []string) (module.CaCertStatus, error)
Status returns the caCert distribution status
type CaCertDistributionManager ¶
type CaCertDistributionManager interface { Instantiate(ctx context.Context, cert, project string) error Status(ctx context.Context, cert, project, qInstance, qType, qOutput string, fApps, fClusters, fResources []string) (module.CaCertStatus, error) Terminate(ctx context.Context, cert, project string) error Update(ctx context.Context, cert, project string) error }
CaCertDistributionManager exposes all the logicalCloud caCert distribution functionalities
type CaCertEnrollmentClient ¶
type CaCertEnrollmentClient struct { }
CaCertEnrollmentClient holds the client properties
func NewCaCertEnrollmentClient ¶
func NewCaCertEnrollmentClient() *CaCertEnrollmentClient
NewCaCertEnrollmentClient returns an instance of the CaCertDistributionClient which implements the Manager
func (*CaCertEnrollmentClient) Instantiate ¶
func (c *CaCertEnrollmentClient) Instantiate(ctx context.Context, cert, project string) error
Instantiate the caCert distribution
func (*CaCertEnrollmentClient) Status ¶
func (c *CaCertEnrollmentClient) Status(ctx context.Context, cert, project, qInstance, qType, qOutput string, fApps, fClusters, fResources []string) (module.CaCertStatus, error)
Status returns the caCert enrollment status
type CaCertEnrollmentManager ¶
type CaCertEnrollmentManager interface { Instantiate(ctx context.Context, cert, project string) error Status(ctx context.Context, cert, project, qInstance, qType, qOutput string, fApps, fClusters, fResources []string) (module.CaCertStatus, error) Terminate(ctx context.Context, cert, project string) error Update(ctx context.Context, cert, project string) error }
CaCertEnrollmentManager exposes all the caCert enrollment functionalities
type CaCertLogicalCloud ¶
type CaCertLogicalCloud struct { MetaData types.Metadata `json:"metadata"` Spec CaCertLogicalCloudSpec `json:"spec"` }
CaCertLogicalCloud holds the caCert logicalCloud details
type CaCertLogicalCloudClient ¶
type CaCertLogicalCloudClient struct {
// contains filtered or unexported fields
}
CaCertLogicalCloudClient holds the client properties
func NewCaCertLogicalCloudClient ¶
func NewCaCertLogicalCloudClient() *CaCertLogicalCloudClient
NewCaCertLogicalCloudClient returns an instance of the CaCertLogicalCloudClient which implements the Manager
func (*CaCertLogicalCloudClient) CreateLogicalCloud ¶
func (c *CaCertLogicalCloudClient) CreateLogicalCloud(ctx context.Context, logicalCloud CaCertLogicalCloud, cert, project string, failIfExists bool) (CaCertLogicalCloud, bool, error)
CreateLogicalCloud creates a caCert logicalCloud
func (*CaCertLogicalCloudClient) DeleteLogicalCloud ¶
func (c *CaCertLogicalCloudClient) DeleteLogicalCloud(ctx context.Context, logicalCloud, cert, project string) error
DeleteLogicalCloud deletes a caCert logicalCloud
func (*CaCertLogicalCloudClient) GetAllLogicalClouds ¶
func (c *CaCertLogicalCloudClient) GetAllLogicalClouds(ctx context.Context, cert, project string) ([]CaCertLogicalCloud, error)
GetAllLogicalClouds returns all the caCert logicalCloud
func (*CaCertLogicalCloudClient) GetLogicalCloud ¶
func (c *CaCertLogicalCloudClient) GetLogicalCloud(ctx context.Context, logicalCloud, cert, project string) (CaCertLogicalCloud, error)
GetLogicalCloud returns the caCert logicalCloud
type CaCertLogicalCloudKey ¶
type CaCertLogicalCloudKey struct { Cert string `json:"caCertLc"` CaCertLogicalCloud string `json:"caCertLogicalCloud"` Project string `json:"project"` }
CaCertLogicalCloudKey represents the resources associated with a caCert logicalCloud
type CaCertLogicalCloudManager ¶
type CaCertLogicalCloudManager interface { CreateLogicalCloud(ctx context.Context, logicalCloud CaCertLogicalCloud, cert, project string, failIfExists bool) (CaCertLogicalCloud, bool, error) DeleteLogicalCloud(ctx context.Context, logicalCloud, cert, project string) error GetAllLogicalClouds(ctx context.Context, cert, project string) ([]CaCertLogicalCloud, error) GetLogicalCloud(ctx context.Context, logicalCloud, cert, project string) (CaCertLogicalCloud, error) }
CaCertLogicalCloudManager exposes all the caCert logicalCloud functionalities
type CaCertLogicalCloudSpec ¶
type CaCertLogicalCloudSpec struct {
LogicalCloud string `json:"logicalCloud"` // name of the logicalCloud
}
CaCertLogicalCloudSpec holds the logicalCloud details
type CaCertManager ¶
type CaCertManager interface { // Certificates CreateCert(ctx context.Context, cert module.CaCert, project string, failIfExists bool) (module.CaCert, bool, error) DeleteCert(ctx context.Context, cert, project string) error GetAllCert(ctx context.Context, project string) ([]module.CaCert, error) GetCert(ctx context.Context, cert, project string) (module.CaCert, error) }
CaCertManager exposes all the caCert functionalities
type ClusterGroupClient ¶
type ClusterGroupClient struct { }
ClusterGroupClient holds the client properties
func NewClusterGroupClient ¶
func NewClusterGroupClient() *ClusterGroupClient
NewClusterGroupClient returns an instance of the ClusterGroupClient which implements the Manager
func (*ClusterGroupClient) CreateClusterGroup ¶
func (c *ClusterGroupClient) CreateClusterGroup(ctx context.Context, group module.ClusterGroup, caCertLogicalCloud, cert, project string, failIfExists bool) (module.ClusterGroup, bool, error)
CreateClusterGroup creates a caCert clusterGroup
func (*ClusterGroupClient) DeleteClusterGroup ¶
func (c *ClusterGroupClient) DeleteClusterGroup(ctx context.Context, clusterGroup, caCertLogicalCloud, cert, project string) error
DeleteClusterGroup deletes a caCert clusterGroup
func (*ClusterGroupClient) GetAllClusterGroups ¶
func (c *ClusterGroupClient) GetAllClusterGroups(ctx context.Context, caCertLogicalCloud, cert, project string) ([]module.ClusterGroup, error)
GetAllClusterGroups returns all the caCert clusterGroup
func (*ClusterGroupClient) GetClusterGroup ¶
func (c *ClusterGroupClient) GetClusterGroup(ctx context.Context, clusterGroup, caCertLogicalCloud, cert, project string) (module.ClusterGroup, error)
GetClusterGroup returns the caCert clusterGroup
type ClusterGroupKey ¶
type ClusterGroupKey struct { Cert string `json:"caCertLc"` ClusterGroup string `json:"caCertClusterGroupLc"` CaCertLogicalCloud string `json:"caCertLogicalCloud"` Project string `json:"project"` }
ClusterGroupKey represents the resources associated with a caCert clusterGroup
type ClusterGroupManager ¶
type ClusterGroupManager interface { CreateClusterGroup(ctx context.Context, cluster module.ClusterGroup, logicalCloud, cert, project string, failIfExists bool) (module.ClusterGroup, bool, error) DeleteClusterGroup(ctx context.Context, cluster, logicalCloud, cert, project string) error GetAllClusterGroups(ctx context.Context, logicalCloud, cert, project string) ([]module.ClusterGroup, error) GetClusterGroup(ctx context.Context, cluster, logicalCloud, cert, project string) (module.ClusterGroup, error) }
ClusterGroupManager exposes all the caCert clusterGroup functionalities
type DistributionKey ¶
type DistributionKey struct { Cert string `json:"caCert"` Project string `json:"project"` Distribution string `json:"caCertDistribution"` }
DistributionKey represents the resources associated with a caCert distribution
type EnrollmentKey ¶
type EnrollmentKey struct { Cert string `json:"caCert"` Project string `json:"project"` Enrollment string `json:"caCertEnrollment"` }
EnrollmentKey represents the resources associated with a caCert enrollment