Documentation ¶
Index ¶
- func CheckCIDROverlap(cidr1, cidr2 string) (bool, error)
- func New(version string) func() provider.Provider
- func NewClusterDataSource() datasource.DataSource
- func NewClusterResource() resource.Resource
- func NewClustersDataSource() datasource.DataSource
- func NewHostDataSource() datasource.DataSource
- func NewHostsDataSource() datasource.DataSource
- func NewKubeconfigDataSource() datasource.DataSource
- func NewNodeDataSource() datasource.DataSource
- func NewNodepoolsDataSource() datasource.DataSource
- func NewNodesDataSource() datasource.DataSource
- func RegexMatches(regexes []string, value string) bool
- func StrSliceContains(s []string, e string) bool
- type AddonSpec
- type AddonsClient
- type Cluster
- type Context
- type Credentials
- type Diff
- type KubeConfig
- type StrMap
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCIDROverlap ¶
CheckCIDROverlap checks if two CIDR blocks are overlapping
func NewClusterDataSource ¶
func NewClusterDataSource() datasource.DataSource
func NewClusterResource ¶
func NewClustersDataSource ¶
func NewClustersDataSource() datasource.DataSource
func NewHostDataSource ¶
func NewHostDataSource() datasource.DataSource
func NewHostsDataSource ¶
func NewHostsDataSource() datasource.DataSource
func NewKubeconfigDataSource ¶
func NewKubeconfigDataSource() datasource.DataSource
func NewNodeDataSource ¶
func NewNodeDataSource() datasource.DataSource
func NewNodepoolsDataSource ¶
func NewNodepoolsDataSource() datasource.DataSource
func NewNodesDataSource ¶
func NewNodesDataSource() datasource.DataSource
func RegexMatches ¶
func StrSliceContains ¶
Types ¶
type AddonsClient ¶
type AddonsClient interface { Get(ctx context.Context, addonName string) (sunpikev1alpha2.ClusterAddon, error) List(ctx context.Context, clusterID string, addonType string) ([]sunpikev1alpha2.ClusterAddon, error) Enable(ctx context.Context, addonSpec AddonSpec) error Disable(ctx context.Context, addonSpec AddonSpec) error Patch(ctx context.Context, addonSpec AddonSpec, refClusterAddon *sunpikev1alpha2.ClusterAddon) error }
func NewAddonClient ¶
func NewAddonClient(sunpikeClient client.Client) AddonsClient
type Credentials ¶
type KubeConfig ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.