Documentation ¶
Index ¶
- func CreateCluster(ctx context.Context, opts Options) error
- func DestroyCluster(ctx context.Context, o *DestroyOptions) error
- func DumpCluster(ctx context.Context, opts *DumpOptions) error
- func DumpGuestCluster(ctx context.Context, kubeconfig string, destDir string) error
- func NewCreateCommand() *cobra.Command
- func NewDestroyCommand() *cobra.Command
- func NewDumpCommand() *cobra.Command
- type DestroyOptions
- type DumpOptions
- type OCAdmInspect
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestroyCluster ¶
func DestroyCluster(ctx context.Context, o *DestroyOptions) error
func DumpCluster ¶
func DumpCluster(ctx context.Context, opts *DumpOptions) error
func DumpGuestCluster ¶
DumpGuestCluster dumps resources from a hosted cluster using its apiserver indicated by the provided kubeconfig. This function assumes that pods aren't able to be scheduled and so can only gather information directly accessible through the api server.
func NewCreateCommand ¶
func NewDestroyCommand ¶
func NewDumpCommand ¶
Types ¶
type DestroyOptions ¶
type DumpOptions ¶
type OCAdmInspect ¶
type OCAdmInspect struct {
// contains filtered or unexported fields
}
func (*OCAdmInspect) WithNamespace ¶
func (i *OCAdmInspect) WithNamespace(namespace string) *OCAdmInspect
type Options ¶
type Options struct { Namespace string Name string ReleaseImage string PullSecretFile string AWSCredentialsFile string SSHKeyFile string NodePoolReplicas int32 Render bool InfraID string InfrastructureJSON string IAMJSON string InstanceType string Region string BaseDomain string IssuerURL string PublicZoneID string PrivateZoneID string Annotations []string NetworkType string FIPS bool }
Click to show internal directories.
Click to hide internal directories.