lshctl

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: EUPL-1.2 Imports: 32 Imported by: 0

Documentation

Overview

Copyright © 2023 Libresh <contact@libre.sh>

Licensed under the EUPL, Version 1.2 or later (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var (
	Scheme      = runtime.NewScheme()
	ActiveDot   = "•"
	InactiveDot = "○"
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Client

type Client struct {
	KubeClient client.Client
}

func NewClientForConfig

func NewClientForConfig(cfg *rest.Config) (*Client, error)

type LibreshModel

type LibreshModel struct {
	Stages []component.Model

	Scopes []component.Scope
	// contains filtered or unexported fields
}

func NewLibreshModel

func NewLibreshModel(manager *ssa.ResourceManager) LibreshModel

func (LibreshModel) Init

func (s LibreshModel) Init() tea.Cmd

func (LibreshModel) Update

func (s LibreshModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (LibreshModel) View

func (m LibreshModel) View() string

Jump to

Keyboard shortcuts

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